/* Styling for the Registration page based on existing theme */
.registration-container {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background-color: #f9fafb;
}

.registration-hero {
    background: linear-gradient(135deg, #0b2239 0%, #0066ff 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

    .registration-hero h1 {
        font-size: 3.5rem;
        margin: 0 0 10px 0;
        font-weight: 800;
        letter-spacing: -1px;
        color: #fff;
    }

    .registration-hero p {
        font-size: 1.25rem;
        font-weight: 300;
        opacity: 0.9;
    }

.registration-content {
    max-width: 1500px; /* platos kartelas */
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-80px); /* Overlap with hero */
    margin-bottom: -40px;
}

    .form-card h2 {
        color: #0b2239;
        font-size: 2.2rem;
        margin-top: 0;
        margin-bottom: 30px;
        font-weight: 700;
        position: relative;
        display: inline-block;
    }

        .form-card h2::after {
            content: '';
            width: 60px;
            height: 4px;
            background: #0066ff;
            position: absolute;
            bottom: -10px;
            left: 0;
            border-radius: 2px;
        }

.form-group {
    margin-bottom: 5px; /* keno metaksi gramon */
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* kaue 1fr einai 1 stili */
    gap: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8fafc;
    box-sizing: border-box;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
    padding-right: 40px;
}

    .form-input:focus, .form-textarea:focus, .form-select:focus {
        outline: none;
        border-color: #0066ff;
        box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
        background-color: #fff;
    }

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox Styling */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px 0;
    margin-top: 25px; /* aligns with inputs in rows */
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066ff;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.submit-btn, .back-btn {
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    text-decoration: none;
    box-sizing: border-box;
}

.submit-btn {
    background-color: #0066ff;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

    .submit-btn:hover {
        background-color: #0052cc;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    }

.back-btn {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

    .back-btn:hover {
        background-color: #e2e8f0;
        color: #1e293b;
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 768px) {
    .registration-hero h1 {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card {
        padding: 30px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .checkbox-wrapper {
        margin-top: 0;
        padding: 5px 0 20px 0;
    }
}
