﻿ :root {
            --primary-color: #2563eb;
            --secondary-color: #1e40af;
            --background-color: #f8fafc;
            --text-color: #1e293b;
            --error-color: #ef4444;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--background-color);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-container {
            width: 100%;
            max-width: 420px;
            padding: 2rem;
            background: white;
            border-radius: 1rem;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        }

        .login-header {
            text-align: center;
            /*margin-bottom: 2rem;*/
        }

            .login-header img {
                height: 80px;
                margin-bottom: 1.5rem;
            }

            .login-header h2 {
                color: var(--text-color);
                font-size: 1.5rem;
                font-weight: 600;
                margin: 0;
            }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            font-weight: 500;
            font-size: 0.875rem;
        }

        .form-control {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            font-size: 0.8rem;
            transition: all 0.2s;
        }

            .form-control:focus {
                outline: none;
                border-color: var(--primary-color);
                box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            }

        .login-button {
            width: 100%;
            padding: 0.75rem;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

            .login-button:hover {
                background: var(--secondary-color);
            }

            .login-button:disabled {
                opacity: 0.7;
                cursor: not-allowed;
            }

        .loading-spinner {
            display: inline-block;
            width: 1rem;
            height: 1rem;
            margin-right: 0.5rem;
            border: 2px solid white;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .input-icon-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 1rem;
            color: #64748b;
        }

        .input-with-icon {
            padding-left: 2.75rem;
        }

        @media (max-width: 640px) {
            .login-container {
                margin: 1rem;
                padding: 1.5rem;
            }
        }


           /* Önceki stiller aynen kalacak, aşağıdakileri ekleyeceğiz */

        .login-tabs {
            display: flex;
            margin-bottom: 2rem;
            border-bottom: 2px solid #e2e8f0;
        }

        .login-tab {
            flex: 1;
            padding: 1rem;
            text-align: center;
            color: #64748b;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

            .login-tab.active {
                color: var(--primary-color);
            }

            .login-tab::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 2px;
                background: var(--primary-color);
                transform: scaleX(0);
                transition: transform 0.3s;
            }

            .login-tab.active::after {
                transform: scaleX(1);
            }

        .login-tab-content {
            display: none;
        }

            .login-tab-content.active {
                display: block;
                animation: fadeIn 0.3s ease-in-out;
            }

        .verification-code {
            display: flex;
            gap: 0.5rem;
            margin-top: 1rem;
        }

            .verification-code input {
                width: 3rem;
                height: 3rem;
                text-align: center;
                font-size: 1.25rem;
                border: 1px solid #e2e8f0;
                border-radius: 0.5rem;
                transition: all 0.2s;
            }

                .verification-code input:focus {
                    border-color: var(--primary-color);
                    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
                }

        .resend-code {
            display: inline-flex;
            align-items: center;
            color: var(--primary-color);
            font-size: 0.875rem;
            margin-top: 1rem;
            cursor: pointer;
            transition: all 0.2s;
        }

            .resend-code:hover {
                color: var(--secondary-color);
            }

            .resend-code i {
                margin-right: 0.5rem;
            }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

             /* CSS */
        #offline-message {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.98);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .offline-content {
            padding: 2rem;
            border-radius: 12px;
            background: white;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            max-width: 400px;
        }

            .offline-content i {
                font-size: 3rem;
                color: #dc3545;
                margin-bottom: 1rem;
            }

            .offline-content h2 {
                margin-bottom: 1rem;
                color: #333;
            }

            .offline-content p {
                color: #666;
                margin-bottom: 1.5rem;
            }

            .offline-content button {
                padding: 0.75rem 1.5rem;
                background: #005c8f;
                color: white;
                border: none;
                border-radius: 6px;
                cursor: pointer;
                transition: all 0.3s ease;
            }

                .offline-content button:hover {
                    background: #004a73;
                }


                   /* Checkbox Stilleri */
        .tf-cart-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 15px;
        }

        .tf-checkbox-wrapp {
            position: relative;
            min-width: 20px;
            height: 20px;
            margin-top: 2px;
        }

            .tf-checkbox-wrapp input {
                position: absolute;
                opacity: 0;
                cursor: not-allowed;
            }

            .tf-checkbox-wrapp div {
                width: 20px;
                height: 20px;
                border: 2px solid #4318FF;
                border-radius: 4px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #4318FF;
            }

            .tf-checkbox-wrapp i {
                color: white;
                font-size: 12px;
            }

        .f14-regular {
            font-size: 11px;
            color: #64748b;
            line-height: 1.5;
        }

            .f14-regular a {
                color: #4318FF;
                text-decoration: none;
                font-weight: 500;
            }

                .f14-regular a:hover {
                    text-decoration: underline;
                }
   
        /* Yeni eklenecek CSS */
.auth-links {
    margin: 1.5rem 0;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.secondary-button {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secondary-button:hover {
    background: rgba(37, 99, 235, 0.1);
}

.secondary-button i {
    font-size: 0.875rem;
}

/* Mobil için responsive düzenleme */
@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: column;
    }
    
    .secondary-button {
        width: 100%;
    }
}


   /* Mobilde numeric keyboard açılması için */
.verification-input input[inputmode="numeric"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
}