/* 7Stars Accounts - panel użytkownika */
.stars-acc-panel { max-width: 900px; margin: 40px auto; padding: 40px 30px; font-family: inherit; color: #1a2a3a; }
.stars-acc-panel * { box-sizing: border-box; }

.stars-acc-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid rgba(26,42,58,.1); padding-bottom: 24px; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.stars-acc-hello { font-size: 22px; letter-spacing: .08em; font-weight: 300; }
.stars-acc-meta { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(26,42,58,.55); margin-top: 6px; }

.stars-acc-logout { background: transparent; border: 1px solid rgba(26,42,58,.25); color: #1a2a3a; padding: 10px 20px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.stars-acc-logout:hover { background: #1a2a3a; color: #fff; }

.stars-acc-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(26,42,58,.1); margin-bottom: 32px; flex-wrap: wrap; }
.stars-acc-tab { background: transparent; border: none; padding: 14px 22px; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; cursor: pointer; color: rgba(26,42,58,.5); border-bottom: 2px solid transparent; transition: all .3s; margin-bottom: -1px; }
.stars-acc-tab:hover { color: #1a2a3a; }
.stars-acc-tab.is-active { color: #c6a55c; border-bottom-color: #c6a55c; }

.stars-acc-pane { display: none; animation: starsAccFade .3s ease; }
.stars-acc-pane.is-active { display: block; }
@keyframes starsAccFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.stars-acc-form { display: flex; flex-direction: column; gap: 20px; max-width: 520px; }
.stars-acc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(26,42,58,.7); }
.stars-acc-form input[type="text"],
.stars-acc-form input[type="email"],
.stars-acc-form input[type="tel"],
.stars-acc-form input[type="password"] {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(26,42,58,.2);
  padding: 10px 0; font-size: 15px; color: #1a2a3a; outline: none; transition: border-color .3s; font-family: inherit;
}
.stars-acc-form input:focus { border-bottom-color: #c6a55c; }

.stars-acc-row { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
@media (max-width: 600px) { .stars-acc-row { grid-template-columns: 1fr; } }

.stars-acc-type-switch { display: flex; gap: 24px; margin-bottom: 8px; }
.stars-acc-type-switch label { flex-direction: row; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .15em; cursor: pointer; }

.stars-acc-business-fields { display: flex; flex-direction: column; gap: 20px; padding: 20px 0; border-top: 1px dashed rgba(26,42,58,.15); }

.stars-acc-btn { align-self: flex-start; background: #c6a55c; color: #fff; border: none; padding: 14px 36px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .3s; font-family: inherit; margin-top: 8px; }
.stars-acc-btn:hover { background: #1a2a3a; }
.stars-acc-btn:disabled { opacity: .6; cursor: wait; }

.stars-acc-msg { font-size: 12px; letter-spacing: .05em; min-height: 18px; }
.stars-acc-msg.is-ok { color: #2d7a4a; }
.stars-acc-msg.is-err { color: #b33a3a; }

.stars-acc-empty { color: rgba(26,42,58,.5); font-style: italic; }

.stars-acc-inquiries { display: flex; flex-direction: column; gap: 16px; }
.stars-acc-inquiry { border: 1px solid rgba(26,42,58,.1); padding: 20px 24px; background: #fafaf8; }
.stars-acc-inquiry header { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(26,42,58,.5); margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.stars-acc-inquiry-form { color: #c6a55c; }
.stars-acc-inquiry h4 { margin: 0 0 8px; font-size: 16px; font-weight: 400; }
.stars-acc-inquiry p { margin: 0; color: rgba(26,42,58,.75); font-size: 14px; line-height: 1.6; }

.stars-acc-guest { text-align: center; padding: 60px 20px; }
.stars-acc-guest p { margin-bottom: 24px; color: rgba(26,42,58,.7); }

/* ===== [stars_login_button] shortcode styles ===== */
.stars-login-btn { display: inline-block; text-decoration: none; text-align: center; }
.stars-login-link { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #c6a55c; text-decoration: none; transition: color .3s; cursor: pointer; }
.stars-login-link:hover { color: #1a2a3a; }
.stars-login-icon { background: transparent; border: none; color: #c6a55c; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 4px; transition: color .3s; }
.stars-login-icon:hover { color: #1a2a3a; }
.stars-login-svg { width: 24px; height: 24px; }

/* ===== Paginacja historii ===== */
.stars-acc-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(26,42,58,.1); }
.stars-acc-page-btn { background: transparent; border: 1px solid rgba(26,42,58,.2); color: #1a2a3a; padding: 8px 18px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: all .3s; font-family: inherit; }
.stars-acc-page-btn:hover:not(:disabled) { background: #1a2a3a; color: #fff; border-color: #1a2a3a; }
.stars-acc-page-btn:disabled { opacity: .35; cursor: default; }
.stars-acc-page-info { font-size: 11px; letter-spacing: .15em; color: rgba(26,42,58,.55); min-width: 50px; text-align: center; }

/* ===== Clear history ===== */
.stars-acc-clear-wrap { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(26,42,58,.08); }
.stars-acc-clear-btn { background: transparent; border: 1px solid rgba(180,50,50,.3); color: rgba(180,50,50,.7); padding: 10px 22px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: all .3s; font-family: inherit; }
.stars-acc-clear-btn:hover { background: rgba(180,50,50,.08); border-color: rgba(180,50,50,.5); color: #b43232; }
.stars-acc-clear-btn:disabled { opacity: .5; cursor: wait; }

/* ── Inquiry: dodatkowe pola formularza ── */
.stars-acc-inquiry-fields {
    margin: .5rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: .25rem;
}
.stars-acc-inquiry-field {
    display: flex;
    gap: .5rem;
    font-size: .85em;
    line-height: 1.4;
}
.stars-acc-inquiry-field dt {
    font-weight: 600;
    white-space: nowrap;
    color: var(--stars-label, #555);
    min-width: 7rem;
}
.stars-acc-inquiry-field dt::after {
    content: ":";
}
.stars-acc-inquiry-field dd {
    margin: 0;
    color: var(--stars-text, #222);
    word-break: break-word;
}
.stars-acc-inquiry-message {
    margin-top: .5rem;
    font-size: .9em;
}
.stars-acc-inquiry-message strong {
    display: block;
    margin-bottom: .2rem;
    color: var(--stars-label, #555);
}
.stars-acc-inquiry-message p {
    margin: 0;
}
