/* ================================================================
   DRS Urlaubsverwaltung – Styles
================================================================ */

/* --- Verwaltungsformular --- */
.drs-urlaub-wrapper {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
}

.drs-urlaub-title {
    margin: 0 0 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.drs-urlaub-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.drs-urlaub-status.aktiv {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}
.drs-urlaub-status.inaktiv {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ccc;
}

.drs-urlaub-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drs-urlaub-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.drs-urlaub-field input[type="date"],
.drs-urlaub-field input[type="password"],
.drs-urlaub-field textarea {
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.drs-urlaub-field input:focus,
.drs-urlaub-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.drs-urlaub-field textarea {
    resize: vertical;
}

.drs-urlaub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.drs-urlaub-btn {
    padding: 9px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    background: #0073aa;
    color: #fff;
}
.drs-urlaub-btn:hover  { background: #005f8d; }
.drs-urlaub-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.drs-urlaub-btn-sec {
    background: #6c757d;
}
.drs-urlaub-btn-sec:hover { background: #545b62; }

.drs-urlaub-btn-logout {
    background: transparent;
    color: #888;
    border: 1px solid #ccc;
}
.drs-urlaub-btn-logout:hover {
    background: #f5f5f5;
    color: #333;
}

.drs-urlaub-msg {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: none;
}
.drs-urlaub-msg.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}
.drs-urlaub-msg.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ================================================================
   Urlaubshinweis-Block (wird auf der Startseite eingefügt)
================================================================ */
#drs-urlaub-hinweis-block {
    margin: 16px auto;
    background: #fff;
    width: 50%;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    #drs-urlaub-hinweis-block {
        width: 100%;
        margin-top: 24px;
    }
}

.drs-urlaub-hinweis-header {
    background-color: #E02B20;
    padding: 3px 10px !important;
    margin-bottom: 0px !important;
    text-align: left;
}

.drs-urlaub-hinweis-header strong {
    display: block;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF !important;
}

.drs-urlaub-hinweis-body {
    padding: 3px 10px;
    background: #fff;
}

.drs-urlaub-hinweis-body p {
    margin: 0 0 8px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.drs-urlaub-hinweis-body p:last-child {
    margin-bottom: 0;
}

.drs-urlaub-zeitraum {
    font-weight: 600;
    color: #E02B20;
}
