/* Minimal baseline styling for the account module so pages look usable
   even before Elementor design is applied. Every class is prefixed
   .pee-acct- so it is easy to target/override in Elementor. */

.pee-acct-form { max-width: 420px; }
.pee-acct-field { margin-bottom: 14px; }
.pee-acct-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.pee-acct-input,
.pee-acct-form input[type="text"],
.pee-acct-form input[type="email"],
.pee-acct-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}

.pee-acct-btn,
.pee-acct-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #042551;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.pee-acct-btn:hover,
.pee-acct-form button[type="submit"]:hover { background: #0a3a78; color: #fff; }

.pee-acct-form-links { font-size: 13px; margin-top: 10px; }
.pee-acct-notice { padding: 12px 16px; background: #f4f8fd; border-radius: 6px; margin-bottom: 14px; }
.pee-acct-notice-success { background: #eafaf0; color: #157347; }
.pee-acct-error { padding: 12px 16px; background: #fdecea; color: #b32d2e; border-radius: 6px; margin-bottom: 14px; }
.pee-acct-content-placeholder { padding: 20px; background: #f4f8fd; border-radius: 6px; color: #64748b; }

/* login/register tabs */
.pee-acct-tab-nav { display: flex; gap: 8px; margin-bottom: 18px; }
.pee-acct-tab-btn {
    background: none;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    font-weight: 600;
}
.pee-acct-tab-btn.is-active { background: #042551; color: #fff; border-color: #042551; }
.pee-acct-tab-panel { display: none; }
.pee-acct-tab-panel.is-active { display: block; }

/* account nav */
.pee-acct-nav { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pee-acct-nav-vertical { flex-direction: column; }
.pee-acct-nav li a { display: inline-block; padding: 8px 14px; border-radius: 6px; text-decoration: none; }
.pee-acct-nav li.is-current a { background: #042551; color: #fff; }

/* dashboard cards */
.pee-acct-card-grid {
    display: grid;
    grid-template-columns: repeat(var(--pee-acct-card-columns, auto-fit), minmax(180px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.pee-acct-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
    background: #fff;
}
.pee-acct-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.pee-acct-card-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pee-acct-card-color, #042551); color: #fff; }
.pee-acct-card-icon .dashicons { font-size: 20px; width: 20px; height: 20px; }
.pee-acct-card-icon i { font-size: 20px; line-height: 1; }
.pee-acct-card-icon svg { width: 20px; height: 20px; fill: currentColor; }
.pee-acct-card-icon img { max-width: 60%; max-height: 60%; object-fit: contain; }
.pee-acct-card-count { position: absolute; top: 16px; right: 16px; font-size: 22px; font-weight: 700; color: var(--pee-acct-card-color, #042551); }
.pee-acct-card-label { font-weight: 700; font-size: 15px; }
.pee-acct-card-cta { font-size: 13px; color: var(--pee-acct-card-color, #042551); font-weight: 600; }
