/* Mandantenbereich Styles */

/* Back Navigation */
.back-navigation {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--white);
    color: var(--dark-blue);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-button:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(46, 202, 127, 0.3);
    transform: translateX(-3px);
}

.back-button i {
    font-size: 18px;
}

.mandanten-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2a4a8f 100%);
    padding: 40px 0 80px;
    position: relative;
    overflow: hidden;
}

.mandanten-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.mandanten-hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.mandanten-hero .hero__text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.auth-section {
    background: var(--light-bg);
}

.auth-container {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0;
}

.auth-box {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #26b36f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.auth-icon i {
    font-size: 36px;
    color: var(--white);
}

.auth-title {
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--text-gray);
    font-size: 16px;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-size: 15px;
}

.auth-form label i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 18px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Barlow', sans-serif;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 202, 127, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-gray);
}

.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--black-2);
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-color);
    white-space: nowrap;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.auth-switch {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.auth-switch p {
    color: var(--text-gray);
    margin: 0;
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-info-section {
    margin-top: 60px;
    padding: 0 15px;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #26b36f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 30px;
    color: var(--white);
}

.info-card h4 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-gray);
    font-size: 15px;
    margin: 0;
}

.auth-contact-alt {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-alt-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-alt-content > i {
    font-size: 50px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-alt-content h4 {
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.contact-alt-content p {
    margin: 0;
    color: var(--black-2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .back-navigation {
        top: 20px;
        left: 20px;
    }

    .back-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .back-button span {
        display: none;
    }

    .back-button i {
        font-size: 20px;
        margin: 0;
    }

    .mandanten-hero {
        padding: 80px 0 50px;
    }

    .mandanten-hero h1 {
        font-size: 36px;
    }

    .mandanten-hero .hero__text {
        font-size: 16px;
    }

    .auth-section {
        padding: 40px 0;
    }

    .auth-container {
        margin-bottom: 40px;
    }

    .auth-box {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .auth-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .auth-icon i {
        font-size: 28px;
    }

    .auth-title {
        font-size: 26px;
    }

    .auth-subtitle {
        font-size: 14px;
    }

    .auth-header {
        margin-bottom: 30px;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-form .form-group {
        margin-bottom: 20px;
    }

    .auth-form label {
        font-size: 14px;
    }

    .auth-form input[type="text"],
    .auth-form input[type="email"],
    .auth-form input[type="tel"],
    .auth-form input[type="password"] {
        padding: 12px 16px;
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 13px;
    }

    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .auth-switch {
        margin-top: 25px;
        padding-top: 25px;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 25px 15px;
    }

    .auth-contact-alt {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .contact-alt-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-alt-content > i {
        font-size: 40px;
    }
}
