/* Güncellenmiş CSS Kodu (Mavi tonlar kullanıldı) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Mor-Mavi gradient yerine MAVİ gradient: #1a5276 -> #2e86c1 */
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.auth-header {
    /* Mor-Mavi gradient yerine MAVİ gradient: #1a5276 -> #2e86c1 */
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-header h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.auth-header p {
    opacity: 0.9;
    font-size: 14px;
}

.auth-content {
    padding: 30px;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    /* Vurgu rengi #667eea yerine #2e86c1 yapıldı */
    border-color: #2e86c1;
    box-shadow: 0 0 0 3px rgba(46, 134, 193, 0.1); /* Yeni mavi tona uygun box-shadow */
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-primary {
    /* Mor-Mavi gradient yerine MAVİ gradient */
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    /* Yeni mavi tona uygun box-shadow */
    box-shadow: 0 10px 20px rgba(46, 134, 193, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0 20px 0;
}

.package-card {
    border: 2px solid #e0e0e0;
    border-radius: 18px;
    padding: 28px 20px 20px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: #fafdff;
    box-shadow: 0 4px 24px rgba(46,134,193,0.06);
    position: relative;
    min-height: 340px;
}

.package-card:hover, .package-card.selected {
    border-color: #2e86c1;
    background: linear-gradient(135deg, rgba(46,134,193,0.08) 0%, rgba(26,82,118,0.06) 100%);
    box-shadow: 0 8px 32px rgba(46,134,193,0.13);
    transform: translateY(-6px) scale(1.03);
}

.package-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 2px 8px rgba(46,134,193,0.12);
}

.package-name {
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.package-price {
    font-weight: 700;
    color: #2e86c1;
    font-size: 20px;
    margin: 12px 0 2px 0;
    letter-spacing: 0.2px;
}

.package-price-yearly {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.package-features {
    color: #444;
    font-size: 15px;
    margin-bottom: 14px;
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin-top: 10px;
}

.package-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 7px;
}

.package-features li::before {
    content: "✔";
    color: #2e86c1;
    font-size: 13px;
    position: absolute;
    left: 0;
    top: 0;
}

.package-desc {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    opacity: 0.85;
}

.text-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.text-link a {
    /* Link rengi #667eea yerine #2e86c1 yapıldı */
    color: #2e86c1;
    text-decoration: none;
    font-weight: 600;
}

.text-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.alert.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.back-btn {
    background: none;
    border: none;
    /* Geri butonu rengi #667eea yerine #2e86c1 yapıldı */
    color: #2e86c1;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    font-weight: 600;
}

.back-btn:hover {
    text-decoration: underline;
}

.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s;
    border-radius: 2px;
}

.company-id-display {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.company-id-display strong {
    /* Şirket ID rengi #667eea yerine #2e86c1 yapıldı */
    color: #2e86c1;
    font-size: 20px;
    letter-spacing: 2px;
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #333;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.auth-tab:hover {
    /* Hover rengi #667eea yerine #2e86c1 yapıldı */
    color: #2e86c1;
}

.auth-tab.active {
    /* Aktif sekme rengi #667eea yerine #2e86c1 yapıldı */
    color: #2e86c1;
    border-bottom-color: #2e86c1;
}

/* Yıllık ve aylık fiyat gösterimi için özel stiller */
.package-price {
    font-weight: 700;
    color: #2e86c1;
    font-size: 20px;
    margin: 12px 0 2px 0;
    letter-spacing: 0.2px;
}

.package-price-yearly {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* Paket kartında fiyat ve yıllık fiyat arası boşluk */
.package-card .package-price + .package-price-yearly {
    margin-top: 0;
}

/* Responsive düzeltme */
@media (max-width: 600px) {
    .package-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .package-price {
        font-size: 18px;
    }
    .package-price-yearly {
        font-size: 13px;
    }
}

