.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4318FF, #9f7aea);
    padding: 20px;
    position: relative;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.register-box {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(67, 24, 255, 0.05);
    width: 100%;
    max-width: 460px;
    position: relative;
    overflow: hidden;
}

.logo-area {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
    margin-top: 8px;
}

.register-logo {
    height: 88px;
    width: 88px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(67, 24, 255, 0.08);
    background: #fff;
    transition: box-shadow 0.2s;
}

.brand-name {
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.register-content {
    position: relative;
    z-index: 1;
}

.title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.5;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: white;
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #f8fafc;
    border-color: #4318FF;
    transform: translateY(-2px);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background-color: #e2e8f0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: white;
    padding: 0 15px;
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0 16px 0 48px;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-control:hover {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.form-control:focus {
    border-color: #4318FF;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(67, 24, 255, 0.08);
}

.form-control:focus + i {
    color: #4318FF;
}

.toggle-password {
    position: absolute;
    right: 45px;
    top: 20px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #4318FF;
}

.btn-register {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4318FF, #9f7aea);
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 24, 255, 0.2);
}

.btn-register i {
    transition: transform 0.3s ease;
}

.btn-register:hover i {
    transform: translateX(4px);
}

.login-link {
    text-align: center;
    margin-top: 24px;
    color: #64748b;
    font-size: 15px;
}

.login-link a {
    color: #4318FF;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #f5f7ff);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(67, 24, 255, 0.1),
                0 0 0 1px rgba(67, 24, 255, 0.05);
    max-width: 400px;
    width: 90%;
}

.loading-animation {
    position: relative;
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #4318FF;
    border-left-color: #4318FF;
    animation: spinnerRotate 1.5s ease-in-out infinite;
}

.spinner-ring::before {
    content: '';
    position: absolute;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: rgba(67, 24, 255, 0.3);
    border-left-color: rgba(67, 24, 255, 0.3);
    animation: spinnerRotateReverse 2s ease-in-out infinite;
}

.ai-icon {
    color: #4318FF;
    font-size: 1.8rem;
    animation: pulseIcon 2s ease-in-out infinite;
    transform: rotate(-45deg);
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinnerRotateReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes pulseIcon {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
        opacity: 1;
    }
}

.loading-title {
    color: #4318FF;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.loading-description {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Tasarım */
@media (max-width: 480px) {
    .register-box {
        padding: 30px 20px;
    }

    .title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-control {
        height: 48px;
    }

    .btn-register {
        height: 48px;
    }

    .loading-content {
        padding: 2rem;
    }

    .brand-name {
        font-size: 20px;
    }

    .register-logo {
        height: 60px;
        width: 60px;
    }
}

.checkbox-group {
    margin: 0 0 20px 0;
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 18px;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    background-color: #f8fafc;
}

.checkbox-group .form-check-input {
    margin: 0;
    min-width: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    top: 2px;
    left: 8px;
}

.checkbox-group .form-check-input:checked {
    background-color: #4318FF;
    border-color: #4318FF;
}

.checkbox-group .form-check-input:hover {
    border-color: #4318FF;
}

.checkbox-group .form-check-label {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
    padding-right: 0;
    transition: color 0.3s ease;
    display: block;
    margin: 0;
}

@media (max-width: 480px) {
    .checkbox-group {
        margin: 0 0 20px 0;
        padding: 5px 0;
    }
}

/* Privacy Consent Styling */
.privacy-consent-label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.privacy-text {
    font-size: 12px;
    color: #64748b;
}

.privacy-link {
    font-size: 12px;
    color: #4318FF;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    color: #2d0f8a;
    text-decoration: none;
}

/* KVKK Popup Styles */
.kvkk-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    box-sizing: border-box;
    z-index: 10000;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.kvkk-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.kvkk-popup {
    background: white;
    border-radius: 16px;
    width: 95%;
    max-width: 580px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kvkk-popup-overlay.show .kvkk-popup {
    transform: scale(1);
    opacity: 1;
}

.kvkk-popup-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 32px 32px;
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.kvkk-popup-title {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kvkk-popup-title::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.kvkk-content {
    padding: 24px 32px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.privacy-loading {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    margin-bottom: 16px;
}

.loading-spinner i {
    font-size: 32px;
    color: #4f46e5;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.privacy-loading p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.kvkk-text h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.kvkk-text h3 {
    color: #1f2937;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}



.kvkk-text p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
}

.kvkk-text ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.kvkk-text li {
    color: #374151;
    margin: 12px 0;
    padding: 12px 16px;
    background: #f8fafc;
    border-left: 4px solid #4f46e5;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.kvkk-text li::before {
    content: '✓';
    color: #059669;
    font-weight: bold;
    margin-right: 8px;
    font-size: 1.1em;
}

.kvkk-text strong {
    color: #1f2937;
    font-weight: 600;
}

.kvkk-text .error-message {
    color: #dc2626;
    background: #fee2e2;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.kvkk-text .error-message h3 {
    color: #dc2626;
    margin-bottom: 8px;
}

.kvkk-text .error-message a {
    color: #dc2626;
    text-decoration: underline;
}

.kvkk-text .error-message a:hover {
    color: #b91c1c;
}

.kvkk-consent {
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e0e7ff;
}

.consent-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkmark i {
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #059669;
    border-color: #059669;
    transform: scale(1.1);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark i {
    opacity: 1;
    transform: scale(1);
}

.consent-checkbox:hover .checkmark {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.consent-text {
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

.kvkk-popup-footer {
    padding: 24px 32px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.privacy-link-container {
    text-align: center;
    margin-bottom: 8px;
}

.privacy-link-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
}

.privacy-link-click {
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-link-click:hover {
    color: #3730a3;
    text-decoration: none;
}

.privacy-link-click::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    transition: width 0.3s ease;
}

.privacy-link-click:hover::before {
    width: 100%;
}

.kvkk-popup-footer .kvkk-popup-btn {
    align-self: flex-end;
}

.kvkk-popup-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.kvkk-popup-btn.continue {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.kvkk-popup-btn.continue:not([disabled]):hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.kvkk-popup-btn.continue:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

.kvkk-popup-btn.continue:not([disabled]):hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .kvkk-popup {
        width: 95%;
        margin: 10px;
    }
    
    .kvkk-popup-header {
        padding: 18px 24px;
    }
    
    .kvkk-popup-title {
        font-size: 1.2rem;
    }
    
    .kvkk-content {
        padding: 20px 24px;
    }
    
    .kvkk-popup-footer {
        padding: 18px 24px;
    }

    .privacy-link-text {
        font-size: 0.85rem;
    }
    
    .kvkk-popup-btn {
        min-width: 120px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .kvkk-popup {
        width: 98%;
        margin: 5px;
    }
    
    .kvkk-popup-header {
        padding: 16px 20px;
    }
    
    .kvkk-popup-title {
        font-size: 1.1rem;
    }
    
    .kvkk-content {
        padding: 18px 20px;
    }
    
    .kvkk-text h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .kvkk-text p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .kvkk-text li {
        margin: 8px 0;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .kvkk-consent {
        padding: 16px;
        margin-top: 16px;
    }
    
    .consent-text {
        font-size: 0.9rem;
    }
    
    .kvkk-popup-footer {
        padding: 16px 20px;
    }
    
    .privacy-link-text {
        font-size: 0.8rem;
    }
    
    .kvkk-popup-btn {
        width: 100%;
        padding: 12px 16px;
    }
}
