﻿/* ================= ACTION BUTTONS SCROLL ================= */
.action-buttons-container {
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
}

.action-buttons {
    display: inline-flex;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 100%;
    padding: 5px 0;
}

.action-btn {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

.action-btn i {
    font-size: 12px;
    margin-right: 5px;
}

/* ================= SERVICE DETAILS SCROLL ================= */
.service-details-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 15px;
}

.service-details {
    display: inline-flex;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 100%;
    padding: 5px 0;
}

.detail-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    min-width: 150px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.detail-card span {
    display: block;
    font-size: 12px;
    color: #718096;
    margin-bottom: 4px;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 768px) {
    .action-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .detail-card {
        min-width: 130px;
        padding: 10px;
    }
}

/* ======================= USER DASHBOARD STYLES ======================= */
.dashboard-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    font-size: 24px;
    color: #1a56db;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
}

.stat-icon.bg-blue { background: #3498db; }
.stat-icon.bg-green { background: #2ecc71; }
.stat-icon.bg-purple { background: #9b59b6; }
.stat-icon.bg-pink { background: #e84393; }
.stat-icon.bg-orange { background: #e67e22; }
.stat-icon.bg-red { background: #e74c3c; }

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 16px;
}

.quick-actions {
    margin-top: 30px;
    text-align: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.action-btn:hover {
    background: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ======================= FORM STYLES ======================= */
.form-container, .method-container, .balance-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow:  0 8px 25px rgba(0,0,0,0.08);
}

.card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.error-message, .success-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.error-message {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.success-message {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input, 
.input-with-icon textarea,
.input-with-icon select {
    width: 100%;
    padding: 14px 20px;
    border:  1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.input-with-icon input:focus, 
.input-with-icon textarea:focus,
.input-with-icon select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap:  10px;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
}

.btn.primary {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
}

.btn.primary:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
}

.full-width {
    width: 100%;
}

/* ======================= PROFILE STYLES ======================= */
.profile-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f1f1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-info h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.status.online {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

.status.offline {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.detail-item span {
    display: block;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.detail-item strong {
    display: block;
    font-size: 18px;
    color: #2c3e50;
}

.admin-actions, .user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

/* ======================= LIST STYLES ======================= */
.blocked-users-container, 
.inbox-container, 
.users-container, 
.online-users-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.search-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.search-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.blocked-users-list,
.conversations-list,
.users-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blocked-user-item,
.conversation-item,
.user-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s;
    position: relative;
}

.blocked-user-item:hover,
.conversation-item:hover,
.user-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #4f46e5;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.user-status {
    font-size: 14px;
    display: block;
}

.user-status.online {
    color: #27ae60;
}

.user-status.offline {
    color: #7f8c8d;
}

.last-message {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 5px;
}

.message-time {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #7f8c8d;
    font-size: 13px;
}

.unread-count {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.message-btn, .unblock-btn, .delete-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.message-btn {
    background: #3498db;
    color: white;
}

.unblock-btn {
    background: #e74c3c;
    color: white;
}

.delete-btn {
    background: #c0392b;
    color: white;
    margin-left: 10px;
}

.message-btn:hover, .unblock-btn:hover, .delete-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* ======================= CHAT STYLES ======================= */
.chat-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.messages-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.message-item {
    max-width: 80%;
    padding: 20px;
    border-radius: 18px;
    position: relative;
}

.message-item.sent {
    background: #dbf4ff;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.message-item.received {
    background: #f0f2f5;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.message-content {
    line-height: 1.6;
    font-size: 16px;
}

.message-status {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #7f8c8d;
    font-size: 12px;
}

.message-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    resize: none;
    min-height: 100px;
    margin-bottom: 15px;
}

/* ======================= CABINET STYLES ======================= */
.cabinet-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.cabinet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.cabinet-header h2 {
    font-size: 28px;
    color: #1a56db;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-balance {
    background: rgba(231, 76, 60, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight:  600;
    color: #e74c3c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.cabinet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s;
    border: 1px solid #eee;
    text-align: center;
}

.cabinet-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.item-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.item-icon.bg-blue { background: #3498db; }
.item-icon.bg-green { background: #2ecc71; }
.item-icon.bg-purple { background: #9b59b6; }
.item-icon.bg-orange { background: #e67e22; }
.item-icon.bg-pink { background: #e84393; }
.item-icon.bg-red { background: #e74c3c; }
.item-icon.bg-teal { background: #1abc9c; }
.item-icon.bg-indigo { background: #4f46e5; }
.item-icon.bg-dark { background: #2c3e50; }

.item-title {
    font-weight: 600;
    font-size: 16px;
}

/* ======================= PAGINATION STYLES ======================= */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
    gap: 8px;
}

.pagination a, 
.pagination span {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination a {
    background: #f1f1f1;
    color: #2c3e50;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination span {
    background: #3498db;
    color: white;
    border: 1px solid #3498db;
}

/* ======================= EMPTY STATES ======================= */
.empty-message {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #ddd;
    color: #7f8c8d;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.empty-message i {
    font-size: 48px;
    color: #bdc3c7;
}

/* ======================= CONFIRMATION STYLES ======================= */
.confirmation-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
    text-align: center;
}

.confirmation-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.confirm-btn, .cancel-btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.confirm-btn {
    background: #e74c3c;
    color: white;
}

.cancel-btn {
    background: #3498db;
    color: white;
}

.confirm-btn:hover, .cancel-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* ======================= METHOD CARD STYLES ======================= */
.method-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
    text-align: center;
}

.method-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.method-icon.bg-blue { background: #3498db; }
.method-icon.bg-green { background: #2ecc71; }
.method-icon.bg-purple { background: #9b59b6; }

.method-footer {
    margin-top: 25px;
}

/* ======================= PAYMENT GRID STYLES ======================= */
.payment-methods {
    margin-top: 30px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.method-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: #2c3e50;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.method-card h3 {
    font-size: 20px;
    margin: 15px 0 10px;
}

.method-card p {
    color: #7f8c8d;
    font-size: 14px;
}

/* ======================= OPERATIONS STYLES ======================= */
.operations-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.operations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.operation-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.operation-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3498db;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.operation-content {
    flex: 1;
}

.operation-text {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.operation-date {
    font-size: 14px;
    color: #7f8c8d;
}

/* ======================= RESPONSIVE ADJUSTMENTS ======================= */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-actions, .user-actions {
        flex-direction: column;
    }
    
    .message-item {
        max-width: 90%;
    }
    
    .cabinet-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .confirmation-buttons {
        flex-direction: column;
    }

    /* Premium/Pulsuz tabları üçün mobil düzəliş */
    .tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: end;
    }
    .tab-button {
        padding: 10px 5px;
        font-size: 14px;
    }

    
}

/* ================== ORDER FORM STYLES ================== */
.menu, .order-form {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin: 20px 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 15px;
}

/* DOMAIN ORDER FORM STYLES */
.domain-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.domain-input-group input {
    flex: 1;
}

/* NS ROWS */
.remove-ns {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    height: 40px;
    align-self: center;
}

.remove-ns:hover {
    background: #c0392b;
}

.add-ns-btn {
    background: #edf2f7;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
    font-weight: 600;
}

.add-ns-btn:hover {
    background: #e2e8f0;
}

/* HOSTING/RESELLER TABS */
.hosting-tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.hosting-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.free-domain-inputs {
    display: flex;
    gap: 3px;
}

.free-domain-inputs input {
    flex: 1;
}

.free-domain-inputs select {
    max-width: 150px;
    margin-left: 5px;
}

/* Price Summary */
.price-summary {
    background: #f0f7ff;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #2d90ff;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px  0;
    border-bottom: 1px dashed #ddd;
}

.price-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: #e74c3c;
}

/* Buttons */
.submit-btn {
    background: linear-gradient(to right, #27ae60, #219653);
    color: white;
    border: none;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Dashboard Cards */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.dashboard-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Parent elementi üçün */
.hosting-tabs {
    text-align: center;
}

.hosting-tab-button {
    min-width: 100px;
    padding: 10px 3px;
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    /* MOBILE ADJUSTMENTS FOR DOMAIN FORM */
    .domain-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .domain-input-group span {
        margin-top: 5px;
        margin-left: 0;
    }
    
.free-domain-inputs {
    display: flex;
    gap: 3px;
}

.free-domain-inputs input {
    flex: 5; /* This will make the input take 5 parts of the available space */
}

.free-domain-inputs select {
    flex: 3; /* This will make the select take 3 parts of the available space */
    margin-left: 5px;
}
    
}

/* NS/IP sıraları üçün mobil düzəliş */
    .ns-row {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        gap: 10px;
        align-items: end;
    }
    
    .ns-row .form-group {
        margin-bottom: 0;
    }
    
    .remove-ns {
        height: 40px;
        margin-top: 0 !important;
    }

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* TAB STYLES */
.tab-container {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tab-menu {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.tab-link {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-link.active {
    color: #2d90ff;
    border-bottom: 3px solid #2d90ff;
    background: #fff;
}

.tab-link i {
    margin-right: 8px;
}

.tab-content {
    padding: 20px;
    background: #fff;
}

/* SERVICE CARDS */
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 10px;
}

.service-status {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.service-status.active {
    background: #e6fffa;
    color: #319795;
}

.service-status.inactive {
    background: #fff5f5;
    color: #e53e3e;
}

.service-status.pending {
    background: #ebf8ff;
    color: #3182ce;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-details > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-details span {
    color: #718096;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
}

.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: 6px;
}

.pagination a {
    background: #edf2f7;
    color: #2d3748;
    text-decoration: none;
}

.pagination a:hover {
    background: #e2e8f0;
}

/* EMPTY STATE */
.no-services {
    text-align: center;
    padding: 30px;
}

.no-services i {
    font-size: 48px;
    color: #cbd5e0;
    margin-bottom: 15px;
}

.no-services p {
    margin-bottom: 20px;
    color: #718096;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #2d90ff, #1a56db);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* DETAIL VIEW */
.detail-view {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.action-btn.primary {
    background: linear-gradient(to right, #2d90ff, #1a56db);
    color: white;
}

.action-btn.secondary {
    background: #edf2f7;
    color: #2d3748;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* YENİ ƏLAVƏLƏR - BAŞLANGIC */
.desktop-user-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .desktop-user-controls {
        display: none;
    }
    
    .mobile-profile-btn {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-user-controls {
        display: flex;
    }
    
    .mobile-profile-btn {
        display: none;
    }
}

.mobile-profile-btn {
    position: relative;
}
/* YENİ ƏLAVƏLƏR - SON */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --header-height: 0px;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #333;
    padding-top: 0;
    padding-bottom: 100px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 400px;
}

.fixed-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-spacer {
    height: var(--header-height);
}

.header_title {
    background: linear-gradient(to right, #1a56db, #2d90ff);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.desktop-services {
    flex:  1 1 auto;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.logo {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo:before {
    content: "🗄️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: #2d90ff;
}

.site-name {
    font-weight: bold;
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.mobile-controls {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.mobile-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    position: relative;
}

.mobile-btn:hover {
    background: rgba(255,255,255,0.3);
}

.desktop-service-link {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 15px;
    position: relative;
}

.desktop-service-link:hover {
    background: rgba(255,255,255,0.2);
}

.header-bottom-row {
    padding: 20px;
    background: rgba(0,0,0,0.1);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: white;
    z-index: 2001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 25px;
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.mobile-menu-link {
    display: block;
    padding: 12px 18px;
    background: #f5f7fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size:  16px;
}

.mobile-menu-link:hover {
    background: #e0e7ff;
    color: #1a56db;
}

.search-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}



.clear-input-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: blue;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
}

.clear-input-btn:hover {
    color: #333;
}

.domain-search-box {
	align-items: center;
	position: relative;
    display: flex;
    width: 100%;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
}

/* Domain axtarış inputu üçün xüsusi stillər */
.domain-input {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 17px;
    outline: none;
    background: rgba(255,255,255,0.95);
    color: #333; /* Əlavə edildi: mətn rəngi */
    font-weight: 500; /* Əlavə edildi: mətn qalınlığı */
}

/* Placeholder üçün xüsusi stillər */
.domain-input::placeholder {
    color: #888; /* Placeholder rəngi */
    opacity: 1; /* Firefox üçün tam görünmə */
    font-weight: 400; /* Normal qalınlıq */
}

/* Fokus zamanı placeholder görünməz olsun */
.domain-input:focus::placeholder {
    color: transparent;
}

/* Axtarış konteyneri üçün əlavə stil */
.domain-search-box {
    display: flex;
    width: 100%;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid #ddd; /* Əlavə edildi: daha qalın border */
    transition: all 0.3s ease; /* Əlavə edildi: hamar keçid */
}

/* Fokus zamanı border rəngini dəyiş */
.domain-search-box:focus-within {
    border-color: #2d90ff;
    box-shadow: 0 4px 20px rgba(45, 144, 255, 0.25);
}

.check-button {
    padding: 0 35px;
    background: #e74c3c;
    color: white;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-button:hover {
    background: #c0392b;
}

.check-button.available {
    background: #27ae60 !important;
}

.check-button.available:hover {
    background: #219653 !important;
}

.check-button.unavailable {
    background: #3498db !important;
}

.check-button.unavailable:hover {
    background: #2980b9 !important;
}

.fa-spinner {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
	body {
		padding-bottom: 100px;
	}
    .desktop-services {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .domain-input {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .check-button {
        padding: 0 25px;
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .mobile-controls {
        display: none;
    }
    
    .desktop-services {
        display: flex;
    }
}

.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    margin-top: 15px;
    padding: 20px;
    display: none;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.suggestions-container.show {
    display: block;
    animation: fadeIn 0.3s ease;
}
/* Yoxlanılır mətninin və loaderin rəngini dəyişdir */
.fa-spinner {
    color: #007bff !important; /* Mavi rəng */
}

.suggestion-item .result-container {
    color: #007bff !important; /* Mavi rəng */
}
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.suggestion-domain {
    flex: 1;
    font-weight: 600;
    font-size: 17px;
    color: #1a56db;
}

.suggestion-prices {
    display: flex;
    gap: 25px;
    margin: 0 25px;
}

.price-item {
    min-width: 90px;
    text-align: right;
}

.price-label {
    font-size: 13px;
    color: #777;
}

.price-value {
    font-weight: 700;
    color: #e74c3c;
    font-size: 17px;
}

.suggestion-check {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-weight: 600;
}

.suggestion-check:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.suggestion-actions {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.check-btn, .order-btn, .info-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.check-btn {
    background-color: #3498db;
    color: white;
}

.order-btn {
    background-color: #2ecc71;
    color: white;
}

.info-btn {
    background-color: #f39c12;
    color: white;
}

.result-container {
    display: inline-block;
}

.error-text {
    color: #e74c3c;
    font-size: 12px;
}

.domain-info-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.domain-info-section h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.sticky-container {
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    transition: top 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pack_layout {
    text-align: center;
    font-size: 32px;
    margin: 40px 0 30px;
    color: #1a56db;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.pack_layout:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #2d90ff;
    margin: 15px auto;
    border-radius: 2px;
}

.grid_area {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.package {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.package h3 {
    color: #2d90ff;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

.package h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
            width: 50px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.package ul {
    list-style: none;
    margin-bottom: 25px;
}

.package li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.package li span:first-child {
    color: #555;
}

.package li span:last-child {
    font-weight: 600;
    color: #1a56db;
}

.price {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #e74c3c;
    margin: 20px 0;
    padding: 10px;
    background: rgba(231, 76, 60, 0.08);
    border-radius: 8px;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #2d90ff, #1a56db);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(45, 144, 255, 0.3);
}

.buy-btn:hover {
    background: linear-gradient(to right, #1a56db, #2d90ff);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 144, 255, 0.4);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    margin-top: 0;
    padding: 20px 0 15px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    background: linear-gradient(to right, #1a56db, #2d90ff);
    color: white;
}

.footer:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f5f7fa' fill-opacity='1' d='M0,160L48,149.3C96,139,192,117,288,128C384,139,480,181,576,181.3C672,181,768,139,864,128C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.footer .grid_area {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.foot.block {
    padding:  10px;
    text-align: center;
}

.foot.b {
    font-size: 22px;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    position: relative;
    padding-bottom: 15px;
}

.foot.b:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.pack_i {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}

.pack_i:hover {
    transform: translateX(5px);
}

.pack_i:last-child {
    border-bottom: none;
}

.footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
    display: block;
}

.footer a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255,255,255,0.7);
}

.bottom_nav_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    border-top: 1px solid #eee;
}

.panels {
    display: flex;
    justify-content: space-around;
}

.nav_bar_panel {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav_bar_panel i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.nav_bar_panel:hover, .nav_bar_panel.active {
    color: #2d90ff;
    background: #f7f9fc;
}

.nav_bar_panel.active:after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2d90ff;
}

.contact-support {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2000;
    animation: slideIn 0.5s ease;
    max-width: 400px;
    border: 1px solid #eee;
}

.contact-support i {
    font-size: 28px;
    color: #2d90ff;
}

.contact-support .text h4 {
    margin-bottom: 8px;
    color: #2d90ff;
    font-size: 18px;
}

.contact-support .text p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.free_spc {
    height: 20px;
}

.site-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.site-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.feature-item i {
    color: #2d90ff;
    margin-right: 12px;
    min-width: 20px;
    font-size: 18px;
    margin-top: 3px;
}

.price-details {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    text-align: center;
    background: rgba(245, 247, 250, 0.8);
    border-radius: 10px;
    padding: 15px;
}

.price-detail {
    flex: 1;
    padding: 0 10px;
}

.price-detail .label {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.price-detail .value {
    font-weight: bold;
    color: #e74c3c;
    font-size: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

#vps, #resel, #host, #domains, #shop {
    scroll-margin-top: 180px;
}

@media (max-width: 768px) {
    #vps, #resel, #host, #domains, #shop {
        scroll-margin-top: 240px;
    }
    
    .suggestion-prices {
        flex-direction: column;
        gap: 8px;
        margin: 0 15px;
    }
    
    .price-item {
        text-align: center;
        min-width: auto;
    }
    
    .domain-search-box {
        border-radius: 12px;
    }
    
    .products {
        gap: 5px;
    }
    
    .g {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .bottom_nav_bar {
        display: block;
    }
    
    .footer {
        display: none;
    }
    
    .pack_layout {
        font-size: 28px;
    }
}

@media (min-width: 769px) {
    .bottom_nav_bar {
        display: none;
    }
    
    .footer {
        display: block;
    }
}

.highlight {
    color: #e74c3c;
    font-weight: 700;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    animation: modalSlideIn 0.4s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(to right, #1a56db, #2d90ff);
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    font-size: 22px;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus {
    border-color: #2d90ff;
    box-shadow: 0 0 0 3px rgba(45, 144, 255, 0.2);
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.form-link {
    color: #2d90ff;
        text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.form-link:hover {
    color: #1a56db;
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(to right, #2d90ff, #1a56db);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 144, 255, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(to right, #1a56db, #2d90ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 144, 255, 0.4);
}

.gender-group {
    display: flex;
    gap: 15px;
    margin-top: 6px;
}

.gender-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.gender-option input {
    width: auto;
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
}

.desktop-login-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 15px;
    border: none;
    white-space: nowrap;
}

.desktop-login-btn:hover {
    background: rgba(255,255,255,0.3);
}

.desktop-register-btn {
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 15px;
    border: none;
    white-space: nowrap;
    font-weight: 600;
}

.desktop-register-btn:hover {
        background: rgba(255,255,255,0.4);
}

.mobile-menu-btn {
    display: block;
    padding: 12px 18px;
    background: #f5f7fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

.mobile-login-btn {
    background: linear-gradient(to right, #2d90ff, #1a56db);
    color: white;
}

.mobile-register-btn {
    background: #e74c3c;
    color: white;
    margin-top: 10px;
}

.mobile-menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.modal-switch-btn {
    background: none;
    border: none;
    color: #2d90ff;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
    transition: all 0.3s;
}

.modal-switch-btn:hover {
    color: #1a56db;
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal {
        max-width: 90%;
        max-height: 90vh;
        padding: 10px;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 15px 12px;
    }
    
    .form-group input, 
    .form-group select {
        padding: 10px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 13px;
    }
}

.recovery-instructions {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Yeni telefon nömrəsi stili */
.phone-group {
    display: flex;
    gap: 10px;
}

.phone-prefix {
    flex: 1;
    min-width: 80px;
}

.phone-number {
    flex: 2;
}

/* Köhnə maskanı sil */
.phone-number-mask::after {
    display: none !important;
}

/* Yeni placeholder stili */
.phone-number::placeholder {
    color: #aaa;
}

/* Domain result modal */
.domain-result-modal {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    animation: modalSlideIn 0.4s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.domain-status {
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    margin: 15px 0;
}

.domain-status.available {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 2px solid #27ae60;
}

.domain-status.unavailable {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.domain-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-size: 14px;
    max-height: 200px;
    overflow-y: auto;
}

.domain-detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.domain-detail-row:last-child {
    border-bottom: none;
}

.domain-detail-label {
    flex: 1;
    font-weight: 600;
    color: #555;
}

.domain-detail-value {
    flex: 2;
    color: #333;
    word-break: break-all;
}

.domain-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.domain-action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.domain-order-btn {
    background: linear-gradient(to right, #27ae60, #219653);
    color: white;
}

.domain-whois-btn {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
}

.domain-back-btn {
    background: #f1f1f1;
    color: #555;
}

/* Profil açılan menyu */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1100;
    overflow: hidden;
    margin-top: 5px;
}

.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f5f7fa;
    color: #2d90ff;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.balance-info {
    font-weight: 600;
    color: #27ae60;
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.dashboard-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ebf8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3182ce;
    font-size: 22px;
}

.card-info {
    margin-bottom: 15px;
}

.card-value {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
}

.card-label {
    color: #718096;
    font-size: 14px;
}

.card-action {
    display: inline-block;
    padding: 6px 12px;
    background: #edf2f7;
        border-radius: 20px;
    color: #2d3748;
    font-size: 13px;
    font-weight: 500;
}

/* Balans kartları */
.balance-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.balance-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
}

.balance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: #ebf8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #3182ce;
    font-size: 28px;
}

.balance-card h3 {
    margin: 10px 0 5px;
    color: #2d3748;
}

.balance-card p {
    color: #718096;
    font-size: 14px;
}

/* Profil stili */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.profile-avatar {
    margin-right: 20px;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h2 {
    margin: 0 0 5px;
    color: #2d3748;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status.online {
    background: #e6fffa;
    color: #319795;
}

.status.offline {
    background: #fff5f5;
    color: #e53e3e;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-item span {
    display: block;
    color: #718096;
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-item strong {
    display: block;
    font-size: 16px;
    color: #2d3748;
}

/* Transfer forması */
.transfer-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 20px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.submit-btn {
    background: linear-gradient(to right, #3182ce, #2b6cb0);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Sürətli keçidlər */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
        text-decoration: none;
    color: #2d3748;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    color: #3182ce;
}

.quick-link i {
    font-size: 28px;
    margin-bottom: 10px;
    color: #3182ce;
}

.quick-link span {
    font-size: 14px;
    text-align: center;
}

/* Geri düyməsi */
.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #edf2f7;
    border-radius: 8px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.back-btn i {
    margin-right: 8px;
}

/* Xəbərlər bölməsi üçün yeni stil */
.news-section {
    margin-top: 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.news-header h3 {
    font-size: 18px;
    color: #2d3748;
}

.news-content {
    min-height: 100px;
}

.news-item {
    display: none;
}

.news-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.news-item h4 {
    color: #3182ce;
    margin-bottom: 10px;
}

.news-controls {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.news-controls button {
    background: #edf2f7;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.news-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
}

.news-indicators span.active {
    background: #3182ce;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mesaj badge stili */
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.profile-btn {
    position: relative;
}

/* Açılan menyudakı mesaj sayı üçün stil */
.dropdown-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
        font-weight: bold;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.global-success-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; top: 0; }
    10% { opacity: 1; top: 20px; }
    90% { opacity: 1; top: 20px; }
    100% { opacity: 0; top: 0; }
}

.field-error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Əlaqə modalı üçün əlavə stillər */
.contact-details {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: #2d90ff;
}

/* ========== MODAL SCROLL STYLES ========== */
.modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

/* Domain nəticə modalı üçün xüsusi düzəliş */
.domain-result-modal .modal-body {
    display: flex;
    flex-direction: column;
}

.domain-status, 
.domain-actions {
    flex-shrink: 0;
}

.domain-details {
    flex-grow: 1;
    overflow-y: auto;
}

/* Firefox scrollbar */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #2d90ff #f1f1f1;
}

/* Chrome, Edge, Safari scrollbar */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #2d90ff;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #1a56db;
}

/* ================ REGISTRATION FORM VERIFICATION STYLES ================ */
.input-with-button {
    display: flex;
    gap: 5px;
    align-items: center;
}

.input-with-button input {
    flex: 1;
}

.input-with-button button {
    white-space: nowrap;
    padding: 12px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.input-with-button button:hover {
    background: #1a56db;
    transform: translateY(-2px);
}

.phone-input-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

.phone-prefix {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

/* Yeni təstiq kodu üslubları */
.code-inputs-container {
    margin: 15px 0;
}

.code-inputs-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    font-family: monospace;
}

.code-input {
    width: 28px;
    height: 28px;
    text-align: center;
    border: none;
    border-bottom: 2px solid #d1d5db;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.code-input:focus {
    border-bottom-color: #000;
}

.code-separator {
    user-select: none;
    margin: 0 5px;
    font-size: 16px;
    font-weight: bold;
}

/* Kod inputları üçün xüsusi stillər */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.verification-code-group {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.verification-code-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.send-code-btn {
    white-space: nowrap;
    padding: 12px 8px;
    background: #2d90ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
}

.send-code-btn:hover {
    background: #1a56db;
    transform: translateY(-2px);
}

.send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mobil cihazlar üçün təstiq kodu düzəlişləri */
@media (max-width: 768px) {
    .code-inputs-row {
        gap: 1px;
    }
    
    .code-input {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .code-separator {
        margin: 0 2px;
        font-size: 14px;
    }
    
    .input-with-button button {
        padding: 12px 6px;
        font-size: 12px;
    }
    
    .send-code-btn {
        padding: 12px 6px;
        font-size: 12px;
    }
}

/* ================= DOMAIN MODAL STYLES ================= */
.domain-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.domain-modal-header h3 {
    color: #2d3748;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.domain-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.domain-status.active {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.domain-status.inactive {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.domain-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
}

.domain-info-grid::-webkit-scrollbar {
    width: 6px;
}

.domain-info-grid::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.domain-info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.domain-info-card.full-width {
    grid-column: 1 / -1;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.info-card-header h4 {
    color: #4a5568;
    font-size: 1.1rem;
    margin: 0;
}

.info-card-header i {
    color: #4299e1;
}

.info-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    flex: 1;
}

.info-value {
    color: #2d3748;
    flex: 2;
    text-align: right;
    word-break: break-word;
}

.info-value a {
    color: #4299e1;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.ns-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ns-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ns-item i {
    color: #4299e1;
}

.domain-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
}

.modal-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.modal-action-btn.close {
    background: #f1f1f1;
    color: #4a5568;
}

.modal-action-btn.close:hover {
    background: #e2e8f0;
}

.modal-action-btn.primary {
    background: #4299e1;
    color: white;
}

.modal-action-btn.primary:hover {
    background: #3182ce;
}

/* Responsive Design */
@media (max-width: 768px) {
    .domain-info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-value {
        text-align: left;
    }
    
    .domain-modal-actions {
        flex-direction: column;
    }
    
    .modal-action-btn {
        justify-content: center;
    }
}