/**
 * WC Modern Account Dashboard Styles - Full Screen Modern Version
 */

/* Reset and Base Styles */
.woocommerce-account .woocommerce {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-account .entry-header,
.woocommerce-account .entry-title,
.woocommerce-account .woocommerce-breadcrumb {
    display: none;
}

.woocommerce-account .site-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Dashboard Layout */
.wcmad-dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.wcmad-sidebar {
    width: 280px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 30px 0 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Logo styles */
.wcmad-sidebar-logo {
    text-align: center;
    padding: 0 20px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.wcmad-sidebar-logo img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    width: auto;
}

.wcmad-sidebar-header {
    padding: 0 25px 25px;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 20px;
}

.wcmad-user-info {
    display: flex;
    align-items: center;
}

.wcmad-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3D76FF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-right: 15px;
}

.wcmad-user-details {
    flex: 1;
}

.wcmad-user-name {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 5px;
    color: #333;
}

.wcmad-user-email {
    font-size: 13px;
    color: #666;
    margin: 0;
    word-break: break-all;
}

.wcmad-main-content {
    flex: 1;
    padding: 30px;
    margin-left: 280px;
    width: calc(100% - 280px);
}

/* Hide default WooCommerce navigation and content */
.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

/* Sidebar Navigation */
.wcmad-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wcmad-sidebar-nav li {
    margin: 0;
    padding: 0;
}

.wcmad-sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wcmad-sidebar-nav li a:hover {
    background-color: #f8f9fa;
    color: #3D76FF;
}

.wcmad-sidebar-nav li.active a {
    background-color: #f0f1ff;
    color: #3D76FF;
    border-left: 3px solid #3D76FF;
}

.wcmad-sidebar-nav .dashicons {
    margin-right: 10px;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Submenu Styles */
.wcmad-navigation-parent {
    position: relative;
    transition: background-color 0.2s ease;
}

.wcmad-submenu-toggle {
	margin:unset !important;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 25px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wcmad-submenu-toggle:hover {
    background-color: #f8f9fa;
    color: #3D76FF;
}

.wcmad-dropdown-icon {
    margin-left: auto !important;
    margin-right: 0 !important;
    transition: transform 0.3s ease;
}

.wcmad-navigation-parent.expanded .wcmad-dropdown-icon {
    transform: rotate(180deg);
}

.wcmad-navigation-child a {
    padding-left: 53px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 13px !important;
    border-left: none !important;
    color: #555 !important;
}

.wcmad-navigation-child.is-active a {
    color: #3D76FF !important;
    background-color: rgba(61, 118, 255, 0.05);
    font-weight: 600;
}

.wcmad-navigation-child a:hover {
    background-color: rgba(61, 118, 255, 0.05);
    color: #3D76FF !important;
}

.wcmad-submenu {
    display: none;
    background-color: #f5f7fa;
    padding: 5px 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border-left: 1px solid rgba(61, 118, 255, 0.1);
    margin-left: 25px;
}

.wcmad-submenu-visible {
    display: block;
}

.wcmad-navigation-parent.expanded .wcmad-submenu {
    display: block;
}

/* Content Area Styles */
.wcmad-content-area {
    padding: 30px;
    margin-bottom: 30px;
}

/* Greeting Section */
.wcmad-greeting-section {
    margin-bottom: 30px;
}

.wcmad-greeting-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Domains Section */
.wcmad-domains-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.wcmad-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wcmad-section-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.wcmad-section-toggle {
    cursor: pointer;
    font-size: 20px;
    color: #777;
    transition: transform 0.2s ease;
}

.wcmad-domains-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wcmad-domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 6px;
    background-color: #f9fafb;
    border: 1px solid #edf0f7;
}

.wcmad-domain-info {
    display: flex;
    align-items: center;
}

.wcmad-domain-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.wcmad-domain-icon .dashicons {
    color: #3D76FF;
    font-size: 20px;
}

.wcmad-domain-details {
    display: flex;
    flex-direction: column;
}

.wcmad-domain-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
}

.wcmad-domain-expiry {
    color: #777;
    font-size: 13px;
}

.wcmad-domain-actions .wcmad-manage-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    color: #3D76FF;
    border: 1px solid #3D76FF;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wcmad-domain-actions .wcmad-manage-button:hover {
    background-color: #3D76FF;
    color: #fff;
}

/* Domain Benefits Section */
.wcmad-domain-benefits-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.wcmad-domain-benefits-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px;
}

.wcmad-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.wcmad-benefit-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.wcmad-benefit-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.wcmad-benefit-card p {
    color: #666;
    margin: 0 0 20px;
    font-size: 14px;
}

/* Hosting Offer Card */
.wcmad-hosting-offer {
    background-color: #4f46e5;
    background-image: linear-gradient(135deg, #4f46e5, #3D76FF);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.wcmad-hosting-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.wcmad-hosting-offer h4,
.wcmad-hosting-offer p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.wcmad-coupon-section {
    margin: 15px 0;
    position: relative;
    z-index: 1;
}

.wcmad-coupon-label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    opacity: 0.8;
}

.wcmad-coupon-code {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

.wcmad-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.wcmad-countdown-item {
    text-align: center;
}

.wcmad-countdown-value {
    display: block;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wcmad-countdown-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.wcmad-countdown-separator {
    font-size: 20px;
    font-weight: bold;
    margin-top: -15px;
}

.wcmad-offer-button {
    display: block;
    background-color: #fff;
    color: #3D76FF;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.wcmad-offer-button:hover {
    background-color: #f0f1ff;
    color: #4f46e5;
}

/* Email and Brand Benefit Cards */
.wcmad-email-benefit,
.wcmad-brand-benefit {
    display: flex;
    flex-direction: column;
}

.wcmad-benefit-icon {
    margin-bottom: 20px;
}

.wcmad-benefit-image {
    width: 50px;
    height: 50px;
}

.wcmad-benefit-card h4 {
    margin-top: 0;
}

.wcmad-benefit-button {
    display: inline-block;
    padding: 10px 16px;
    background-color: #f0f1ff;
    color: #3D76FF;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: auto;
}

.wcmad-benefit-button:hover {
    background-color: #3D76FF;
    color: #fff;
}

/* Mobile Toggle */
.wcmad-mobile-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 101;
    background-color: #3D76FF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.wcmad-mobile-toggle:hover {
    background-color: #4f46e5;
}

.wcmad-mobile-toggle .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.wcmad-mobile-toggle-text {
    display: inline-block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .wcmad-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 999;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .wcmad-sidebar.active {
        transform: translateX(0);
    }
    
    .wcmad-main-content {
        width: 100%;
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .wcmad-mobile-toggle {
        display: flex;
    }
    
    /* Mobile logo styles */
    .wcmad-sidebar-logo {
        padding: 15px 15px;
    }
    
    .wcmad-sidebar-logo img {
        max-height: 50px;
    }
    
    .wcmad-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wcmad-main-content {
        padding: 70px 15px 20px;
    }
    
    .wcmad-content-area {
        padding: 20px;
    }
    
    .wcmad-domain-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wcmad-domain-actions {
        margin-top: 15px;
        width: 100%;
    }
    
    .wcmad-domain-actions .wcmad-manage-button {
        width: 100%;
        text-align: center;
    }
    
    .wcmad-mobile-toggle-text {
        display: none;
    }
    
    .wcmad-mobile-toggle {
        padding: 8px;
        width: 40px;
        height: 40px;
    }
    
    .wcmad-mobile-toggle .dashicons {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .wcmad-countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .wcmad-countdown-separator {
        display: none;
    }
    
    .wcmad-countdown-item {
        width: 60px;
    }
}

/* Enhanced Sections */
.wcmad-enhanced-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

/* Order Detail Styles */
.wcmad-order-detail-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.wcmad-order-status-badge {
    position: absolute;
    top: 5%;
    right: 5%;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcmad-status-completed {
    background-color: #e6f7e6;
    color: #2e7d32;
}

.wcmad-status-processing {
    background-color: #e3f2fd;
    color: #1565c0;
}

.wcmad-status-on-hold {
    background-color: #fff8e1;
    color: #f57f17;
}

.wcmad-status-pending {
    background-color: #fce4ec;
    color: #c2185b;
}

.wcmad-status-failed {
    background-color: #ffebee;
    color: #b71c1c;
}

.wcmad-status-cancelled {
    background-color: #f5f5f5;
    color: #616161;
}

.wcmad-sub-heading {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.wcmad-order-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.wcmad-order-items thead th {
    background-color: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #efefef;
}

.wcmad-order-item {
    border-bottom: 1px solid #efefef;
}

.wcmad-order-item td {
    padding: 15px;
    vertical-align: top;
}

.wcmad-order-product-name {
    margin-bottom: 8px;
}

.wcmad-order-product-name a {
    color: #3D76FF;
    text-decoration: none;
    font-weight: 500;
}

.wcmad-order-product-name a:hover {
    text-decoration: underline;
}

.wcmad-product-quantity {
    color: #666;
    font-size: 14px;
}

.wcmad-product-purchase-note {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    font-size: 13px;
    color: #666;
    border-radius: 4px;
}

.wcmad-order-items tfoot tr {
    background-color: #f8f9fa;
}

.wcmad-order-items tfoot th,
.wcmad-order-items tfoot td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #efefef;
}

.wcmad-order-total-value {
    font-weight: 600;
}

.wcmad-order-note-row {
    background-color: #fffde7;
    font-style: italic;
}

.wcmad-addresses-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.wcmad-address-column {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
    margin-bottom: 20px;
}

.wcmad-address-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
}

.wcmad-address-column address {
    font-style: normal;
    line-height: 1.6;
}

.wcmad-billing-phone,
.wcmad-billing-email {
    margin: 8px 0 0;
}

.wcmad-order-downloads {
    margin-bottom: 30px;
}

.wcmad-digital-downloads {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wcmad-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 10px;
}

.wcmad-download-info {
    display: flex;
    align-items: center;
}

.wcmad-download-icon {
    margin-right: 10px;
    color: #3D76FF;
}

.wcmad-download-name {
    font-weight: 500;
}

.wcmad-download-button {
    background-color: #3D76FF;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s;
}

.wcmad-download-button:hover {
    background-color: #2855c5;
    color: #fff;
}

.wcmad-order-actions {
    margin-top: 30px;
    text-align: right;
}

.wcmad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-shadow: none;
    border: none;
    cursor: pointer;
    gap: 8px;
    line-height: 1.5;
    height: 40px;
	border-radius: 10px;
}

.wcmad-button-primary {
    background-color: var(--fs-color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
}

.wcmad-button-primary:hover {
    color: #fff;
	opacity: 0.8;
}

.wcmad-button-outline {
    border: 1px solid #3D76FF;
    color: #3D76FF;
    background-color: transparent;
    box-shadow: none;
}

.wcmad-button-outline:hover {
    background-color: rgba(61, 118, 255, 0.08);
    color: #2855c5;
    border-color: #2855c5;
}

.wcmad-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
}

/* Mobile Styles for Order Detail Page */
@media (max-width: 768px) {
    .wcmad-order-status-badge {
        position: static;
        display: inline-block;
        margin: 15px 0;
    }
    
    .wcmad-order-items thead {
        display: none;
    }
    
    .wcmad-order-item {
        display: block;
    }
    
    .wcmad-order-item td {
        display: block;
        text-align: right;
        padding: 10px;
    }
    
    .wcmad-order-item td:before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
    }
    
    .wcmad-order-item-name:before {
        content: "Product:";
    }
    
    .wcmad-order-item-total:before {
        content: "Total:";
    }
    
    .wcmad-addresses-container {
        display: block;
    }
    
    .wcmad-address-column {
        width: 100%;
        padding: 0;
    }
}

/* Edit Account Form Styles */
.wcmad-edit-account-form {
    max-width: 100%;
}

.wcmad-form-section {
    margin-bottom: 30px;
}

.wcmad-field-info {
    background-color: #f0f1ff;
    border-left: 3px solid #3D76FF;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
    border-radius: 4px;
    box-shadow: none;
}

.wcmad-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px;
}

.wcmad-form-row .wcmad-form-field {
    flex: 1;
    padding: 0 10px;
    min-width: 250px;
}

.wcmad-form-field {
    margin-bottom: 20px;
}

.wcmad-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.wcmad-input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.wcmad-input-text:focus {
    border-color: #3D76FF;
    outline: none;
    box-shadow: none;
}

/* Reset any WooCommerce default input styles */
.wcmad-edit-account-form input[type="text"],
.wcmad-edit-account-form input[type="email"],
.wcmad-edit-account-form input[type="password"] {
    box-shadow: none !important;
    border-radius: 4px !important;
}

.wcmad-field-help {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.wcmad-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Style validation errors */
.wcmad-edit-account-form .woocommerce-error {
    background-color: #ffebee;
    color: #b71c1c;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    list-style-type: none;
    border-left: 3px solid #b71c1c;
    box-shadow: none;
}

.wcmad-edit-account-form .woocommerce-message {
    background-color: #e6f7e6;
    color: #2e7d32;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    border-left: 3px solid #2e7d32;
    box-shadow: none;
}

/* Mobile Styles for Edit Account Page */
@media (max-width: 768px) {
    .wcmad-form-row {
        display: block;
    }
    
    .wcmad-form-row .wcmad-form-field {
        padding: 0;
    }
}

/* Password Strength Meter */
.woocommerce-password-strength {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
    box-shadow: none;
}

.wcmad-password-strength-strong {
    background-color: #e6f7e6;
    color: #2e7d32;
}

.wcmad-password-strength-medium {
    background-color: #fff8e1;
    color: #f57f17;
}

.wcmad-password-strength-weak {
    background-color: #ffebee;
    color: #b71c1c;
}

.woocommerce-password-hint {
    margin-top: 10px;
    display: block;
    font-size: 13px;
    color: #777;
    font-style: italic;
}

/* More comprehensive WooCommerce form overrides */
.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row textarea,
.woocommerce-account .woocommerce form .form-row select {
    box-shadow: none !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    line-height: 1.5 !important;
    border: 1px solid #ddd !important;
}

/* Fix any WooCommerce focus styles */
.woocommerce-account .woocommerce form .form-row input.input-text:focus,
.woocommerce-account .woocommerce form .form-row textarea:focus,
.woocommerce-account .woocommerce form .form-row select:focus {
    border-color: #3D76FF !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Fix WooCommerce button styles */
.woocommerce-account .woocommerce-Button,
.woocommerce-account button.button,
.woocommerce-account .woocommerce input.button {
    box-shadow: none !important;
    border-radius: 4px !important;
    text-shadow: none !important;
}

/* Ensure all form fields have consistent styling */
.wcmad-form-field input[type="text"],
.wcmad-form-field input[type="email"],
.wcmad-form-field input[type="password"],
.wcmad-form-field input[type="tel"],
.wcmad-form-field input[type="number"],
.wcmad-form-field textarea,
.wcmad-form-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-shadow: none;
    line-height: 1.5;
}

.wcmad-navigation-parent.toggling {
    pointer-events: none;
}

.wcmad-navigation-parent.expanded {
    background-color: rgba(61, 118, 255, 0.03);
}

/* Login Form Styles */
.wcmad-login-container {
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

.wcmad-login-sidebar {
    width: 40%;
    background-color: #3D76FF;
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.wcmad-login-sidebar .wcmad-sidebar-logo {
    text-align: left;
    border-bottom: none;
    padding: 0;
    margin-bottom: 100px;
}

.wcmad-login-sidebar .wcmad-sidebar-logo img {
    max-height: 80px;
    filter: brightness(0) invert(1);
}

.wcmad-login-welcome {
    margin-bottom: 30px;
}

.wcmad-login-welcome h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.wcmad-login-welcome p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.wcmad-login-main {
    width: 60%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcmad-login-form-container {
    max-width: 450px;
    width: 100%;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wcmad-login-form-container h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.wcmad-login-form .wcmad-form-field {
    margin-bottom: 20px;
}

.wcmad-login-form label {
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.wcmad-login-form .wcmad-input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wcmad-login-form .wcmad-input-text:focus {
    border-color: #3D76FF;
    box-shadow: 0 0 0 2px rgba(61, 118, 255, 0.2);
    outline: none;
    background-color: #fff;
}

.wcmad-login-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wcmad-remember-me {
    display: flex;
    align-items: center;
}

.wcmad-remember-me input[type="checkbox"] {
    margin-right: 8px;
}

.wcmad-lost-password {
    color: #3D76FF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.wcmad-lost-password:hover {
    color: #2c5bcc;
    text-decoration: underline;
}

.wcmad-login-action {
    margin-top: 30px;
}

.wcmad-login-action .wcmad-button-primary {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
}

.wcmad-register-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wcmad-register-link p {
    color: #666;
    font-size: 14px;
}

.wcmad-register-link a {
    color: #3D76FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.wcmad-register-link a:hover {
    text-decoration: underline;
    color: #2c5bcc;
}

.woocommerce-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .wcmad-login-container {
        flex-direction: column;
    }
    
    .wcmad-login-sidebar,
    .wcmad-login-main {
        width: 100%;
        padding: 30px;
    }
    
    .wcmad-login-sidebar {
        padding: 30px;
    }
    
    .wcmad-login-sidebar .wcmad-sidebar-logo {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .wcmad-login-form-container {
        padding: 25px;
    }
    
    .wcmad-login-remember-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wcmad-lost-password {
        margin-top: 10px;
    }
}

/* Logout Button Styles */
.wcmad-logout-container {
    padding: 20px 25px;
    margin-top: auto;
    border-top: 1px solid #f1f1f1;
    position: sticky;
    bottom: 18px;
    background-color: #fff;
}

.wcmad-logout-button {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    color: #e53935;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    justify-content: center;
}

.wcmad-logout-button:hover {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}

.wcmad-logout-button .dashicons {
    margin-right: 8px;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .wcmad-logout-container {
        padding: 15px;
        bottom: 0;
    }
}

/* My Domains Page Styles */
.wcmad-domains-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.wcmad-page-header {
    margin-bottom: 30px;
}

.wcmad-page-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.wcmad-page-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Updated action bar styling without search */
.wcmad-domain-actions-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
}

.wcmad-domain-buttons {
    display: flex;
    gap: 12px;
}

@media (max-width: 992px) {
    .wcmad-domain-actions-bar {
        justify-content: center;
    }
    
    .wcmad-domain-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .wcmad-page-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .wcmad-page-header h2 {
        font-size: 20px;
    }
    
    .wcmad-page-header p {
        font-size: 14px;
    }
    
    .wcmad-domain-actions-bar {
        margin-bottom: 20px;
    }
    
    .wcmad-domain-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .wcmad-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Better vertical layout for small screens */
    .wcmad-domains-table td {
        padding: 10px 15px 10px 15px;
        padding-top: 35px;
        text-align: left;
    }
    
    .wcmad-domains-table td:before {
        top: 12px;
        transform: none;
        left: 15px;
        font-size: 12px;
        width: auto;
        right: 15px;
        padding-bottom: 4px;
        border-bottom: 1px dashed #eee;
    }
    
    /* Better spacing for domain cards */
    .wcmad-domains-table tr {
        margin-bottom: 15px;
    }
    
    /* Improve domain name display on very small screens */
    .wcmad-domain-name {
        word-break: break-word;
        font-size: 14px;
    }
    
    .wcmad-registrar {
        font-size: 11px;
    }
    
    .wcmad-domain-name-wrapper .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }
    
    /* Improve status badge on small screens */
    .wcmad-domain-status {
        font-size: 11px;
        padding: 3px 8px;
        height: auto;
        min-height: 22px;
        margin-top: 5px;
    }
    
    /* Make the manage button more visible */
    .wcmad-domain-manage-btn {
        min-width: 0;
        margin-top: 5px;
        height: 38px;
        font-size: 13px;
    }
    
    /* Improve toggle switch area */
    .wcmad-autorenew-cell {
        text-align: left;
    }
    
    .wcmad-toggle-container {
        margin-top: 5px;
    }
    
    /* Standardize padding */
    .wcmad-domains-content {
        padding: 15px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    
    /* Improve date display on mobile */
    .wcmad-expires-wrapper {
        margin-top: 5px;
    }
    
    .wcmad-expiry-date {
        font-size: 13px;
    }
    
    .wcmad-time-left {
        font-size: 11px;
    }
    
    /* Make offer cards more compact */
    .wcmad-offers-grid {
        gap: 15px;
    }
    
    .wcmad-offer-card {
        padding: 20px;
    }
    
    .wcmad-offer-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .wcmad-offer-card h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .wcmad-offer-card p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .wcmad-offer-button {
        width: 100%;
        text-align: center;
    }
    
    /* Additional fixes for very small screens */
    @media (max-width: 360px) {
        .wcmad-domains-table td {
            padding-top: 32px;
        }
        
        .wcmad-domains-table td:before {
            font-size: 11px;
        }
        
        .wcmad-domain-name {
            font-size: 13px;
        }
        
        .wcmad-registrar {
            font-size: 10px;
        }
        
        .wcmad-expiry-date {
            font-size: 12px;
        }
        
        .wcmad-time-left {
            font-size: 10px;
        }
    }
}

/* Improve responsiveness */
@media (max-width: 992px) {
    .wcmad-offers-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix Safari mobile specific issues */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 576px) {
        .wcmad-domains-table td:before {
            width: auto;
            right: 15px;
        }
        
        .wcmad-domain-manage-btn {
            min-width: 0;
            width: 100%;
        }
        
        /* Fix iOS table rendering */
        .wcmad-domain-rows {
            display: block;
        }
        
        /* Fix iOS switches */
        .wcmad-switch {
            background-color: transparent;
        }
        
        /* Fix scrolling on iOS */
        .wcmad-domains-table-container {
            -webkit-overflow-scrolling: touch;
        }
    }
}

/* Fix Android Chrome specific issues */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    @media (max-width: 576px) {
        .wcmad-domains-table tr {
            contain: content;
        }
        
        .wcmad-domain-status {
            display: inline-block;
        }
        
        /* Improve tap targets for Android */
        .wcmad-domain-manage-btn {
            min-height: 44px; /* Google's recommended minimum touch target size */
        }
        
        .wcmad-toggle-container {
            min-height: 32px;
        }
    }
}

/* Enhance domains table */
.wcmad-domains-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
}

.wcmad-domains-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    table-layout: fixed;
}

.wcmad-domains-table thead th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #555;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    height: 24px;
    box-sizing: border-box;
}

.wcmad-domains-table tbody td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    height: 72px;
    box-sizing: border-box;
}

.wcmad-domain-row:last-child td {
    border-bottom: none;
}

.wcmad-domain-row:hover {
    background-color: #f9f9f9;
}

/* Fix domain name column */
.wcmad-domain-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wcmad-domain-name-wrapper .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #3D76FF;
    flex-shrink: 0;
}

/* Style status badges better */
.wcmad-domain-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    height: 26px;
    white-space: nowrap;
}

/* Cross-browser compatibility fixes for toggle switch */
.wcmad-autorenew-cell {
    text-align: left;
}

.wcmad-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    vertical-align: middle;
    margin: 0 auto;
}

.wcmad-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    position: absolute;
}

.wcmad-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 22px;
}

.wcmad-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.wcmad-autorenew-toggle:checked + .wcmad-slider {
    background-color: #3D76FF;
}

.wcmad-autorenew-toggle:checked + .wcmad-slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Fix for IE and Edge browsers */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .wcmad-domains-table {
        table-layout: auto;
    }
    
    .wcmad-autorenew-toggle:checked + .wcmad-slider:before {
        transform: translateX(22px);
    }
}

/* Ensure table works in Safari */
@supports (-webkit-appearance:none) {
    .wcmad-domains-table {
        display: table;
        width: 100%;
    }
    
    .wcmad-domains-table tbody {
        display: table-row-group;
    }
    
    .wcmad-domains-table tr {
        display: table-row;
    }
    
    .wcmad-domains-table td,
    .wcmad-domains-table th {
        display: table-cell;
    }
}

/* Updated action button styling */
.wcmad-domain-options {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.wcmad-domain-manage-btn {
    background-color: #3D76FF;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.wcmad-domain-manage-btn:hover {
    background-color: #2855c5;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #fff;
}

/* Expires cell styling */
.wcmad-expires-wrapper {
    display: flex;
    flex-direction: column;
}

/* Fixed responsive issues */
@media (max-width: 768px) {
    .wcmad-domains-table thead {
        display: none;
    }
    
    .wcmad-domains-table, 
    .wcmad-domains-table tbody, 
    .wcmad-domains-table tr, 
    .wcmad-domains-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .wcmad-domains-table tr {
        margin-bottom: 20px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        background-color: #fff;
    }
    
    .wcmad-domains-table td {
        position: relative;
        padding: 12px 15px;
        padding-left: 40%;
        text-align: left;
        min-height: 50px;
        height: auto;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
    }
    
    .wcmad-domains-table td:last-child {
        border-bottom: none;
    }
    
    .wcmad-domains-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 35%;
        white-space: nowrap;
        font-weight: 600;
        color: #555;
        font-size: 13px;
    }
    
    .wcmad-domain-name-wrapper,
    .wcmad-expires-cell,
    .wcmad-status-cell {
        justify-content: flex-start;
        height: inherit;
    }
    
    .wcmad-domain-options {
        justify-content: flex-start;
        width: 100%;
    }
    
    .wcmad-domain-manage-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Fix aligned items in mobile view */
    .wcmad-domain-name-wrapper {
        padding-right: 0;
    }
    
    .wcmad-status-cell .wcmad-domain-status {
        max-width: 100%;
        margin-top: 25px;
    }
    
    .wcmad-toggle-container {
        justify-content: flex-start;
    }
    
    .wcmad-domain-name-wrapper .dashicons {
        order: 0;
        margin-right: 8px;
        margin-left: 0;
    }
    
    .wcmad-domain-name-info {
        order: 1;
        text-align: left;
    }
    
    /* Fix the domain table container on mobile */
    .wcmad-domains-table-container {
        border: none;
        box-shadow: none;
        background: transparent;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .wcmad-page-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .wcmad-page-header h2 {
        font-size: 20px;
    }
    
    .wcmad-page-header p {
        font-size: 14px;
    }
    
    .wcmad-domain-actions-bar {
        margin-bottom: 20px;
    }
    
    .wcmad-domain-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .wcmad-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Better vertical layout for small screens */
    .wcmad-domains-table td {
        padding: 10px 15px 10px 15px;
        padding-top: 35px;
        text-align: left;
    }
    
    .wcmad-domains-table td:before {
        top: 12px;
        transform: none;
        left: 15px;
        font-size: 12px;
        width: auto;
        right: 15px;
        padding-bottom: 4px;
        border-bottom: 1px dashed #eee;
    }
    
    /* Better spacing for domain cards */
    .wcmad-domains-table tr {
        margin-bottom: 15px;
    }
    
    /* Improve domain name display on very small screens */
    .wcmad-domain-name {
        word-break: break-word;
        font-size: 14px;
    }
    
    .wcmad-registrar {
        font-size: 11px;
    }
    
    .wcmad-domain-name-wrapper .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }
    
    /* Improve status badge on small screens */
    .wcmad-domain-status {
        font-size: 11px;
        padding: 3px 8px;
        height: auto;
        min-height: 22px;
        margin-top: 5px;
    }
    
    /* Make the manage button more visible */
    .wcmad-domain-manage-btn {
        min-width: 0;
        margin-top: 5px;
        height: 38px;
        font-size: 13px;
    }
    
    /* Improve toggle switch area */
    .wcmad-autorenew-cell {
        text-align: left;
    }
    
    .wcmad-toggle-container {
        margin-top: 25px;
    }
    
    /* Standardize padding */
    .wcmad-domains-content {
        padding: 15px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    
    /* Improve date display on mobile */
    .wcmad-expires-wrapper {
        margin-top: 25px;
    }
    
    .wcmad-expiry-date {
        font-size: 13px;
    }
    
    .wcmad-time-left {
        font-size: 11px;
    }
    
    /* Make offer cards more compact */
    .wcmad-offers-grid {
        gap: 15px;
    }
    
    .wcmad-offer-card {
        padding: 20px;
    }
    
    .wcmad-offer-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .wcmad-offer-card h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .wcmad-offer-card p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .wcmad-offer-button {
        width: 100%;
        text-align: center;
    }
    
    /* Additional fixes for very small screens */
    @media (max-width: 360px) {
        .wcmad-domains-table td {
            padding-top: 32px;
        }
        
        .wcmad-domains-table td:before {
            font-size: 11px;
        }
        
        .wcmad-domain-name {
            font-size: 13px;
        }
        
        .wcmad-registrar {
            font-size: 10px;
        }
        
        .wcmad-expiry-date {
            font-size: 12px;
        }
        
        .wcmad-time-left {
            font-size: 10px;
        }
    }
}

/* Domain name and info styles */
.wcmad-domain-name-info {
    display: flex;
    flex-direction: column;
}

.wcmad-domain-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.wcmad-registrar {
    font-size: 12px;
    color: #666;
}

.wcmad-expires-cell {
    display: flex;
    flex-direction: column;
}

.wcmad-expiry-date {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.wcmad-time-left {
    font-size: 12px;
    color: #666;
}

/* Status colors */
.wcmad-status-active {
    background-color: #e3f7e8;
    color: #2e7d32;
}

.wcmad-status-expiring {
    background-color: #fff3e0;
    color: #e65100;
}

.wcmad-status-expired {
    background-color: #ffebee;
    color: #c62828;
}

.wcmad-status-pending {
    background-color: #e8eaf6;
    color: #3f51b5;
}

/* Domain offers header */
.wcmad-domain-offers {
    margin-top: 40px;
}

.wcmad-domain-offers h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
}

/* Touch feedback for mobile devices */
.wcmad-touch-active {
    background-color: #2855c5 !important;
    transform: scale(0.98) !important;
}

@media (max-width: 576px) {
    /* Override any text selection on touch devices */
    .wcmad-domain-row {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Ensure proper rendering of mobile domains */
    .wcmad-domains-table-container {
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

/* Login/Register Tabbed Forms */
.wcmad-tab-content {
  display: none;
}
.wcmad-tab-content.active {
  display: block;
}

.wcmad-login-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}
.wcmad-tab-btn {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #3D76FF;
  padding: 5px 30px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.wcmad-tab-btn.active {
  background: var(--fs-color-primary);
  color: #fff;
  box-shadow: 0 -2px 8px rgba(61, 118, 255, 0.05);
} 
@media (max-width: 768px) {
    .wcmad-action-container {
        padding-top: 30px;
    }
}