/* Arbeitsdienste Frontend Styles - Simple Design like original */

.arbeitsdienste-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.arbeitsdienst-kachel {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: block;
    /* Kein cursor: pointer mehr - nur der Button ist klickbar */
}

.arbeitsdienst-kachel:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Header mit Titel und ID */
.arbeitsdienst-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.arbeitsdienst-header h2 {
    color: #333;
    font-size: 20px;
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    flex: 1;
}

/* ID badge in header */
.arbeitsdienst-id {
    background-color: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
    white-space: nowrap;
}

/* Simple information display - no fancy badges */
.arbeitsdienst-datum,
.arbeitsdienst-zeit,
.arbeitsdienst-arbeitskreis,
.arbeitsdienst-verantwortlicher,
.arbeitsdienst-treffpunkt,
.arbeitsdienst-helfer {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
    padding: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
}

.arbeitsdienst-datum {
    color: #333 !important;
    font-weight: 600;
    font-size: 15px;
}

/* Description styling */
.arbeitsdienst-beschreibung {
    margin: 15px 0;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Simple registration button - RED */
.arbeitsdienst-anmelden {
    background-color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 4px;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
}

.arbeitsdienst-anmelden:hover {
    background-color: #c82333;
    color: white;
    border-color: #c82333;
}

/* Content layout */
.arbeitsdienst-content {
    margin-bottom: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
    .arbeitsdienste-container {
        padding: 0 10px;
        margin: 15px auto;
    }
    
    .arbeitsdienst-kachel {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .arbeitsdienst-kachel h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .arbeitsdienst-anmelden {
        padding: 12px 15px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .arbeitsdienst-kachel {
        padding: 20px;
    }
    
    .arbeitsdienst-anmelden {
        min-height: 48px;
        padding: 15px;
        font-size: 16px;
        /* Touch-optimierte Button-Größe */
    }
    
    .arbeitsdienst-anmelden:active {
        transform: scale(0.95);
        background-color: #a71e2a;
    }
}
