﻿html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #6577e6 0%, #6f51b8 100%);
    color: #101827;
}

.dafne-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    box-sizing: border-box;
}

    .dafne-page > div {
        width: 100%;
        max-width: 410px;
    }

.dafne-language-selector {
    text-align: left;
    margin-bottom: 8px;
    font-size: 14px;
}

    .dafne-language-selector a {
        color: #ffffff;
        margin-right: 8px;
        font-weight: 600;
        text-decoration: underline;
    }

.dafne-card {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    padding: 34px 38px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

.dafne-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
    width: 100%;
}

.dafne-logo-img {
    width: 110px !important;
    max-width: 110px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

.dafne-card h1 {
    display: none;
}

.dafne-card h2 {
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 18px 0;
    color: #111827;
}

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 4px;
        color: #111827;
    }

.form-control {
    width: 100%;
    height: 36px;
    border: 1px solid #d6dbe3;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 15px;
    box-sizing: border-box;
    background: #ffffff;
}

textarea.form-control {
    min-height: 88px;
    resize: vertical;
}

.form-control:focus {
    border-color: #6577e6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(101, 119, 230, 0.18);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
    margin-bottom: 18px;
}

.form-check-input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.form-check-label {
    font-size: 15px;
    line-height: 1.45;
}

    .form-check-label a {
        color: #2563eb;
        text-decoration: underline;
    }

.btn-primary {
    background: #5a9df8;
    border: none;
    color: #ffffff;
    border-radius: 4px;
    padding: 9px 15px;
    font-size: 15px;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #3f86e8;
    }

    .btn-primary:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

.text-danger {
    display: block;
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
}

@media (max-width: 520px) {
    .dafne-page {
        align-items: flex-start;
        padding-top: 20px;
    }

    .dafne-card {
        padding: 28px 24px;
    }

        .dafne-card h2 {
            font-size: 24px;
        }
}
