/**
 * LK Domain Module - Styles
 * File: /modules/registrars/lkdomain/assets/css/lkdomain.css
 * Version: 1.0
 */

/* Currency Tabs */
.lk-currency-tabs {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.lk-currency-tabs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.lk-currency-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.lk-cur-tab {
    border: 2px solid #dee2e6;
    background: #fff;
    padding: 8px 20px;
    margin: 0;
    cursor: pointer;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lk-cur-tab:hover {
    border-color: #0066cc;
    background: #f0f8ff;
}

.lk-cur-tab.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.currency-symbol {
    font-size: 18px;
    font-weight: 700;
}

/* Full width container */
.lk-full-width-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .lk-full-width-container {
        width: 100%;
        position: static;
        left: auto;
        right: auto;
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* Card Grid Layout */
.lk-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.lk-card {
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 2rem;
    background: #fff;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.lk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lk-featured {
    border-color: #0066cc;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

/* Category Badges */
.lk-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lk-badge-cat1 {
    background: linear-gradient(135deg, #28a745, #20c936);
}

.lk-badge-cat2 {
    background: linear-gradient(135deg, #0066cc, #004499);
}

.lk-badge-cat3 {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.lk-badge-cat4 {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.lk-badge-cat5 {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.lk-category-info {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.domain-category {
    display: block;
    font-size: 0.8rem;
    margin-top: 2px;
    color: #666;
}

.lk-card h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #333;
}

.lk-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.lk-domain {
    font-weight: 700;
    font-size: 1.3rem;
    color: #333;
}

.lk-price {
    color: #0066cc;
    font-weight: 700;
    font-size: 1.4rem;
}

.lk-includes-label {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-weight: 500;
}

.lk-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Included Domains */
.lk-included-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.lk-domain-tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 1px solid #90caf9;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    color: #1565c0;
    font-weight: 600;
}

/* Status Boxes */
.lk-status-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lk-registered-box {
    background: #ffeaea;
    border: 1px solid #e57373;
    border-left: 5px solid #d32f2f;
}

.lk-restricted-box {
    background: #fff3e0;
    border: 1px solid #f57c00;
    border-left: 5px solid #ef6c00;
}

.lk-status-box h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.lk-registered-box h4 {
    color: #c62828;
}

.lk-restricted-box h4 {
    color: #ef6c00;
}

.lk-details {
    margin-left: 1rem;
}

.lk-details div {
    margin-bottom: 0.5rem;
}

.lk-details b {
    color: #b71c1c;
}

/* Additional Domains */
.lk-section-label {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem;
    text-align: center;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.lk-additional-domains,
.lk-suggested-domains {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lk-domain-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.lk-domain-option:hover {
    background: #e9ecef;
}

.domain-name {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.domain-price {
    color: #0066cc;
    font-weight: 600;
    margin: 0 1rem;
}

/* Spinner */
.domain-lookup-loader {
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: #0066cc;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.domain-lookup-loader i {
    font-size: 2rem;
    margin-right: 1rem;
}

/* Alert */
.alert-warning {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    padding: 1.5rem;
    border-radius: 8px;
    color: #8a6d3b;
    margin: 1.5rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lk-note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* TLD Helper */
.lk-tld-helper {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

.lk-tld-notice {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lk-tld-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lk-tld-suggestion {
    background: white;
    border: 2px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lk-tld-suggestion:hover {
    border-color: #0066cc;
    background: #f0f8ff;
    transform: translateY(-1px);
}

.lk-tld-suggestion strong {
    color: #0066cc;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .lk-card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lk-price-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .lk-included-domains {
        flex-direction: column;
        align-items: center;
    }

    .lk-domain-option {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .lk-card {
        padding: 1.5rem;
    }

    .lk-currency-tabs-inner {
        flex-direction: column;
        gap: 10px;
    }

    .lk-cur-tab {
        width: 100%;
    }
}

/* Utility classes */
.w-hidden {
    display: none !important;
}