﻿:root {
    --primary-yellow: #FFD700;
    --light-yellow: #FFF9C4;
    --soft-yellow: #FFFDE7;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #757575;
    --text-dark: #333333;
    --text-medium: #666666;
    --border-color: #E0E0E0;
    --error-red: #DC3545;
    --success-green: #28A745;
}

.register-container {
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

    .register-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-yellow) 0%, #FFC400 100%);
    }

.register-title {
    color: var(--text-dark);
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 1rem;
}

    .register-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 40%;
        left: 40%;
        height: 3px;
        background: var(--primary-yellow);
        border-radius: 2px;
    }

.section-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-yellow);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title::before {
        content: '✓';
        background: var(--primary-yellow);
        color: var(--white);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }

.register-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.form-control {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    padding: 0.85rem 1rem;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .form-control:focus {
        background: var(--white);
        border-color: var(--primary-yellow);
        color: var(--text-dark);
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
        outline: none;
    }

    .form-control::placeholder {
        color: var(--dark-gray);
        opacity: 0.7;
    }

.input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .input-group .form-control {
        flex: 1;
    }

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFC400 100%);
    color: var(--text-dark);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #FFC400 0%, #FFB300 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-outline-primary {
    background: var(--white);
    border: 1px solid var(--primary-yellow);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

    .btn-outline-primary:hover {
        background: var(--primary-yellow);
        border-color: var(--primary-yellow);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
    }

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-check-input {
    margin-right : 5px !important;
    margin-left: 0.5rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    border: 2px solid var(--dark-gray);
    border-radius: 4px;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: var(--primary-yellow);
        border-color: var(--primary-yellow);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
    }

.form-check-label {
    color: var(--text-medium);
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
}

    .form-check-label a {
        color: var(--primary-yellow);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border-bottom: 1px solid transparent;
    }

        .form-check-label a:hover {
            color: #FFC400;
            border-bottom-color: #FFC400;
        }

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 1.75rem;
}

    .form-row .form-group {
        flex: 1;
        margin-bottom: 0;
    }

.register-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

    .register-section:last-of-type {
        border-bottom: none;
        margin-bottom: 1.5rem;
    }

.form-text {
    color: var(--dark-gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    line-height: 1.4;
}

.text-danger {
    color: var(--error-red) !important;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

    .alert::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 8px 0 0 8px;
    }

.alert-danger {
    background: rgba(220, 53, 69, 0.08);
    color: var(--error-red);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

    .alert-danger::before {
        background: var(--error-red);
    }

.alert-success {
    background: rgba(40, 167, 69, 0.08);
    color: var(--success-green);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

    .alert-success::before {
        background: var(--success-green);
    }

.btn-close {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

    .btn-close:hover {
        opacity: 1;
    }

.register-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

    .register-links p {
        color: var(--text-medium);
        margin: 0;
        font-size: 0.95rem;
    }

    .register-links a {
        color: var(--primary-yellow);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        padding-bottom: 2px;
    }

        .register-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 1px;
            background: var(--primary-yellow);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .register-links a:hover {
            color: #FFC400;
        }

            .register-links a:hover::after {
                transform: scaleX(1);
            }

.countdown {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .countdown::before {
        content: '⏱';
        font-size: 1rem;
    }

.input-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-gray);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

@media (max-width: 576px) {
    .register-card {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .input-group {
        flex-direction: column;
    }

        .input-group .btn-outline-primary {
            width: 100%;
        }
}
