/* ===============================================
   ÖN KAYIT FORMU - MODERN TASARIM
   =============================================== */

/* Floating Button */
.floating-registration-btn {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-registration-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

.floating-registration-btn .btn-content {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 1.2rem 0.9rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-registration-btn .btn-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.floating-registration-btn:hover .btn-content::before {
    left: 100%;
}

.floating-registration-btn .btn-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* Modal Overlay */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.registration-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.registration-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #163b4a 0%, #275c75 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem; /* 1.8rem → 2.2rem */
    font-weight: 700;
    margin: 0;
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Form Styles */
.registration-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem; /* Eklendi */
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.2rem; /* 1rem → 1.2rem */
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #163b4a;
    box-shadow: 0 0 0 3px rgba(22, 59, 74, 0.1);
}

.form-control.error {
    border-color: #ef4444;
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(135deg, #163b4a 0%, #275c75 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 59, 74, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: #10b981;
    color: white;
}

.alert-error {
    background: #ef4444;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-registration-btn {
        right: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
    }
    
    .floating-registration-btn .btn-content {
        padding: 0.9rem 0.6rem;
    }
    
    .floating-registration-btn .btn-text {
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .registration-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .floating-registration-btn {
        right: 10px;
        bottom: 15px;
    }
    
    .floating-registration-btn .btn-content {
        padding: 0.7rem 0.5rem;
    }
    
    .floating-registration-btn .btn-text {
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 98%;
        max-width: 98%;
    }
    
    .registration-form {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
}
