/* ResellerClub TLD Cards Frontend Styles */

.resellerclub-tld-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 350px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.resellerclub-tld-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.resellerclub-tld-card .tld-card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.resellerclub-tld-card .tld-title {
    font-size: 2.5rem;
    font-weight: 700 !important;
    margin: 0 0 8px 0;
    line-height: 1;
    color: inherit !important;
}

.resellerclub-tld-card .tld-subtitle {
    font-size: 1.1rem;
    font-weight: 500 !important;
    opacity: 0.8;
    margin: 0;
    color: inherit !important;
}

.resellerclub-tld-card .tld-card-content {
    margin-bottom: 20px;
}

.resellerclub-tld-card .tld-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
    opacity: 0.9;
    color: inherit !important;
}

.resellerclub-tld-card .tld-pricing {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.resellerclub-tld-card .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.resellerclub-tld-card .price-item:last-child {
    margin-bottom: 0;
}

.resellerclub-tld-card .price-label {
    font-weight: 500 !important;
    opacity: 0.8;
    color: inherit !important;
}

.resellerclub-tld-card .price-value {
    font-weight: 700 !important;
    font-size: 1rem;
    color: inherit !important;
}

.tld-card-footer {
    text-align: center;
    margin-top: 20px;
}

.tld-card-button {
    display: inline-block;
    background: #0073aa;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tld-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
    color: #ffffff !important;
    text-decoration: none;
}

.tld-card-button:active {
    transform: translateY(0);
}

/* Style variations */
.resellerclub-tld-card[data-style="minimal"] {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.resellerclub-tld-card[data-style="minimal"]:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.resellerclub-tld-card[data-style="modern"] {
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.resellerclub-tld-card[data-style="modern"] .tld-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.resellerclub-tld-card[data-style="modern"] .tld-pricing {
    background: rgba(255, 255, 255, 0.1);
}

.resellerclub-tld-card[data-style="modern"] .tld-card-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.resellerclub-tld-card[data-style="modern"] .tld-card-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .resellerclub-tld-card {
        max-width: 100%;
        margin: 15px 0;
        padding: 20px;
    }
    
    .resellerclub-tld-card .tld-title {
        font-size: 2rem;
    }
    
    .resellerclub-tld-card .tld-subtitle {
        font-size: 1rem;
    }
    
    .resellerclub-tld-card .tld-card-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Animation for cards appearing */
.resellerclub-tld-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid layout for multiple cards */
.tld-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tld-cards-grid .resellerclub-tld-card {
    margin: 0;
}

/* Special pricing highlight */
.price-item.featured .price-value {
    font-size: 1.2rem;
    color: #e67e22 !important;
}

/* Loading state */
.resellerclub-tld-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.resellerclub-tld-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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