/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* =========================================================
   LOGIN PAGE
   ========================================================= */

.client-login-wrap {
    width: 100%;
    max-width: var(--theme-normal-container-max-width, 1200px);
    margin: 0 auto;
    padding: 60px 20px;
}

.client-login-title {
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.1;
    color: #111827 !important;
}

.client-login-subtitle {
    margin: 0 0 30px;
    color: #374151 !important;
}

.client-login-wrap form p {
    margin-bottom: 18px;
}

.client-login-wrap form label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827 !important;
}

.client-login-wrap input[type="text"],
.client-login-wrap input[type="email"],
.client-login-wrap input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
    background: #ffffff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.client-login-wrap input::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

.client-login-wrap input[type="submit"],
.abal-client-page-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #111827;
    cursor: pointer;
    font-size: 15px;
    background: #111827 !important;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.client-login-wrap input[type="submit"]:hover,
.abal-client-page-button:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.client-login-wrap input[type="submit"] {
    width: 100%;
}

.client-login-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
}

.client-login-error {
    background: #ffe7e7;
    color: #8a1f1f !important;
}

.client-login-success {
    background: #e8f7ea;
    color: #1d6b2f !important;
}

/* =========================================================
   PORTAL WRAPPERS
   do NOT recolor Gutenberg content
   ========================================================= */

.client-portal-wrap,
.abal-client-page-shell {
    width: 100%;
    max-width: var(--theme-normal-container-max-width, 1200px);
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* =========================================================
   TOP BAR ADDED BY CODE ONLY
   ========================================================= */

.abal-client-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.abal-client-page-header__subtitle {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827 !important;
}

.abal-client-page-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3 !important;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.abal-client-page-button--ghost {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db;
}

.abal-client-page-button--ghost:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
    border-color: #9ca3af !important;
}

/* =========================================================
   ADMIN PORTAL LANDING ONLY
   ========================================================= */

.client-portal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.client-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.client-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #111827 !important;
}

.client-card p,
.client-card li,
.client-card span,
.client-card strong,
.client-card div {
    color: #374151;
}

.client-card a:not(.abal-client-page-button) {
    color: #111827 !important;
}

.client-page-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.client-page-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.client-page-list__item:last-child {
    border-bottom: none;
}

/* =========================================================
   DO NOT TOUCH GUTENBERG CONTENT COLORS
   only spacing wrapper
   ========================================================= */

.abal-client-page-content {
    width: 100%;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
    .abal-client-page-header,
    .client-page-list__item {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-login-title {
        font-size: 32px;
    }

    .abal-client-page-header__subtitle {
        font-size: 26px;
    }
}