/* * Custom My Account Styles - Modern Grid Dashboard
 * Theme: Woocom QuillGPL Digital Seller
 */

/* =========================================
   1. WARNING ALERT BOX
   ========================================= */
/* Targets the "Warning: Please Verify" paragraph */
.entry-content p:has(strong:first-child) {
    background-color: #fff4f2;
    border-left: 5px solid #ef4444; /* Red border */
    color: #991b1b;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.entry-content p strong {
    color: #b91c1c;
}

/* =========================================
   2. NAVIGATION MENU (Modern Grid)
   ========================================= */
nav[aria-label="Account pages"] ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive Grid */
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

nav[aria-label="Account pages"] ul li {
    margin: 0;
}

nav[aria-label="Account pages"] ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    min-height: 60px;
}

/* Hover Effect */
nav[aria-label="Account pages"] ul li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(14, 165, 164, 0.1);
    border-color: var(--quill-accent, #0ea5a4);
    color: var(--quill-accent, #0ea5a4);
}

/* Active Page Style */
nav[aria-label="Account pages"] ul li a[aria-current="page"] {
    background-color: var(--quill-accent, #0ea5a4);
    color: #fff;
    border-color: var(--quill-accent, #0ea5a4);
    box-shadow: 0 5px 15px rgba(14, 165, 164, 0.3);
}

/* =========================================
   3. DASHBOARD GREETING & CONTENT
   ========================================= */
/* Style the "Hello User" text */
.entry-content > p:not(:has(strong:first-child)) {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

/* Links inside the text (Orders, Addresses, etc) */
.entry-content > p a {
    color: var(--quill-accent, #0ea5a4);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(14, 165, 164, 0.2);
    transition: border-color 0.2s;
}

.entry-content > p a:hover {
    border-bottom-color: var(--quill-accent, #0ea5a4);
}

/* =========================================
   4. QUICK VIEW MODAL (Hidden by default)
   ========================================= */
.quill-quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none; /* JS toggles this */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.quill-quickview-modal[aria-hidden="false"] {
    opacity: 1;
}

.quill-quickview-wrap {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quill-quickview-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #64748b;
}

.quill-quickview-close:hover {
    color: #ef4444;
}

/* =========================================
   5. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 600px) {
    /* Stack grid to 2 columns on mobile */
    nav[aria-label="Account pages"] ul {
        grid-template-columns: 1fr 1fr; 
        gap: 10px;
    }
    
    nav[aria-label="Account pages"] ul li a {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .entry-content > p {
        font-size: 14px;
    }
}