/* =====================
   RESET & BASE
   ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f5f7fa;
    color: #2d3748;
    line-height: 1.65;
    font-size: 16px;
}

a { color: #2b6cb0; }
a:hover { color: #3182ce; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; height: auto; display: block; }

/* =====================
   HEADER
   ===================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
    text-decoration: none;
    letter-spacing: -.5px;
}
.logo-text span { color: #3182ce; }

.primary-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}
.primary-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 15px;
    transition: color .2s;
}
.primary-menu a:hover { color: #3182ce; }
.primary-menu .btn-reg {
    background: #3182ce;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
}
.primary-menu .btn-reg:hover { background: #2b6cb0; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =====================
   HERO
   ===================== */
.hero {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    margin-bottom: 40px;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}
.hero h1 span { color: #fefcbf; }
.hero p {
    font-size: 1.15rem;
    max-width: 620px;
    margin: 0 auto 30px;
    opacity: .95;
}
.hero-cta { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.btn-primary { background: #3182ce; color: #fff; }
.btn-primary:hover { background: #2b6cb0; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(49,130,206,.3); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #3182ce; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* =====================
   LAYOUT GRID
   ===================== */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 60px;
}

@media (max-width: 992px) {
    .main-grid { grid-template-columns: 1fr; }
}

/* =====================
   CARD GRID
   ===================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.bookmark-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: all .25s;
    display: flex;
    flex-direction: column;
}
.bookmark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
}

.card-thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #edf2f7;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.bookmark-card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
}

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.card-cat {
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.card-cat a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 700;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.card-title a {
    color: #1a202c;
    text-decoration: none;
}
.card-title a:hover { color: #3182ce; }

.card-excerpt {
    color: #718096;
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #a0aec0;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    color: #3182ce;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* =====================
   SECTION HEADER
   ===================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}
.section-header h2 {
    font-size: 1.5rem;
    color: #1a202c;
}

/* =====================
   SINGLE BOOKMARK
   ===================== */
.single-bookmark { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

.single-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}
@media (max-width: 992px) { .single-grid { grid-template-columns: 1fr; } }

.single-header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a202c;
    line-height: 1.3;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #718096;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 25px;
}
.single-meta a { color: #3182ce; text-decoration: none; }

.single-thumb { margin-bottom: 25px; border-radius: 10px; overflow: hidden; }
.single-content { font-size: 17px; color: #4a5568; line-height: 1.8; }
.single-content p { margin-bottom: 18px; }

.visit-box {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    border-radius: 12px;
    border-left: 4px solid #3182ce;
}
.visit-box p:first-child { margin-bottom: 8px; color: #2c5282; }
.visit-url {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #4a5568;
    word-break: break-all;
    background: rgba(255,255,255,.7);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}
.visit-box .btn { margin-top: 10px; }

.related-section { margin-top: 60px; padding-top: 40px; border-top: 2px solid #edf2f7; }
.related-section h2 { margin-bottom: 25px; font-size: 1.5rem; }

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #a0aec0;
    margin: 30px 0 20px;
}
.breadcrumb a { color: #718096; text-decoration: none; }
.breadcrumb a:hover { color: #3182ce; }

/* =====================
   ARCHIVE
   ===================== */
.archive-header { margin: 40px 0 30px; }
.archive-header h1 { font-size: 2rem; margin-bottom: 20px; }

.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cat-pill {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.cat-pill:hover { border-color: #3182ce; color: #3182ce; }
.cat-pill.active { background: #3182ce; color: #fff; border-color: #3182ce; }

/* =====================
   SIDEBAR
   ===================== */
.sidebar { position: sticky; top: 90px; align-self: start; }

.widget {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.widget-title {
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: #1a202c;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f7;
}

.cat-list { list-style: none; }
.cat-list li { border-bottom: 1px solid #f7fafc; }
.cat-list li:last-child { border: none; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
}
.cat-list a:hover { color: #3182ce; }
.cat-list .count {
    background: #edf2f7;
    color: #718096;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.popular-list { list-style: none; }
.popular-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f7fafc; }
.popular-list li:last-child { border: none; }
.popular-list a {
    display: block;
    text-decoration: none;
    color: #2d3748;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.popular-list a:hover { color: #3182ce; }
.popular-list .views { display: block; font-size: 12px; color: #a0aec0; margin-top: 4px; font-weight: 400; }

.widget-cta {
    background: linear-gradient(135deg, #3182ce, #2b6cb0);
    color: #fff;
}
.widget-cta h3 { color: #fff; border-color: rgba(255,255,255,.2); }
.widget-cta p { font-size: 14px; margin-bottom: 15px; opacity: .95; }
.widget-cta .btn { background: #fff; color: #3182ce; }
.widget-cta .btn:hover { background: #fefcbf; }

/* =====================
   FORMS
   ===================== */
.bd-form {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 15px;
}
.form-group .req { color: #f56565; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: all .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49,130,206,.12);
}
.form-group small {
    display: block;
    margin-top: 6px;
    color: #a0aec0;
    font-size: 13px;
}

/* Alerts */
.notice {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
}
.notice-warn { background: #fefcbf; color: #744210; border-left: 4px solid #ecc94b; }
.notice-success { background: #c6f6d5; color: #22543d; border-left: 4px solid #48bb78; }
.notice-error { background: #fed7d7; color: #822727; border-left: 4px solid #f56565; }
.notice a { color: inherit; font-weight: 600; }

/* Submit layout */
.submit-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 60px;
}
@media (max-width: 992px) { .submit-layout { grid-template-columns: 1fr; } }

.page-header { margin: 40px 0 30px; }
.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.lead { color: #718096; font-size: 1.05rem; }

.info-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.info-box h3 { margin-bottom: 15px; font-size: 1.1rem; }
.info-box ul { padding-left: 20px; }
.info-box li { margin-bottom: 10px; font-size: 14px; color: #4a5568; }

/* =====================
   DASHBOARD
   ===================== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #3182ce;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: #718096; font-weight: 500; }

/* =====================
   TABLE
   ===================== */
.table-wrap {
    background: #fff;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    margin-bottom: 40px;
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
}
.table th {
    background: #f7fafc;
    font-weight: 700;
    color: #4a5568;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.table tr:hover { background: #f7fafc; }
.table a { color: #2b6cb0; text-decoration: none; font-weight: 500; }
.table a:hover { text-decoration: underline; }

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.badge-publish { background: #c6f6d5; color: #22543d; }
.badge-pending { background: #fefcbf; color: #744210; }
.badge-draft { background: #e2e8f0; color: #4a5568; }

/* =====================
   PAGINATION
   ===================== */
.pagination {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}
.pagination .page-numbers:hover { border-color: #3182ce; color: #3182ce; }
.pagination .current {
    background: #3182ce;
    color: #fff;
    border-color: #3182ce;
}

/* =====================
   SEARCH FORM
   ===================== */
.search-form {
    display: flex;
    gap: 8px;
}
.search-form input[type=search] {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}
.search-form button {
    background: #3182ce;
    color: #fff;
    border: none;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
    background: #1a202c;
    color: #cbd5e0;
    margin-top: 60px;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.site-footer p, .site-footer li {
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 8px;
}
.footer-menu, .footer-cats {
    list-style: none;
}
.footer-menu a, .footer-cats a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
}
.footer-menu a:hover, .footer-cats a:hover { color: #fff; }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #2d3748;
    font-size: 13px;
    color: #718096;
}

/* =====================
   UTIL
   ===================== */
.empty {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
    background: #fff;
    border-radius: 12px;
    font-size: 15px;
}

/* =====================
   WARNING & RULES BOX
   ===================== */
.info-rules {
    border-left: 4px solid #3182ce;
}

.info-warning {
    background: #fff5f5;
    border-left: 4px solid #f56565;
    margin-top: 20px;
}

.info-warning h3 {
    color: #c53030;
}

.info-warning ul {
    list-style: none;
    padding-left: 0;
}

.info-warning li {
    padding: 6px 0;
    font-size: 13px;
    color: #742a2a;
    border-bottom: 1px dashed #fed7d7;
}

.info-warning li:last-child {
    border-bottom: none;
}

.warning-note {
    margin-top: 15px;
    padding: 12px;
    background: #fed7d7;
    border-radius: 6px;
    font-size: 13px;
    color: #742a2a;
}

/* =====================
   SKIP LINK (Accessibility)
   ===================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    background: #3182ce;
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    left: 0;
    outline: 3px solid #fefcbf;
}

/* Screen reader only text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* =====================
   HAMBURGER MENU
   ===================== */
.hamburger {
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #2d3748;
    position: relative;
    transition: background .2s;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #2d3748;
    left: 0;
    transition: transform .3s;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   FOOTER LINKS
   ===================== */
.footer-links {
    margin-top: 8px;
    font-size: 13px;
}
.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover {
    color: #fefcbf;
}

/* =====================================================
   AUTH PAGES — REGISTER / LOGIN / VERIFY
   ===================================================== */

.auth-wrapper {
    background: #f5f7fa;
    min-height: 80vh;
    padding: 30px 20px 60px;
}

.auth-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Breadcrumb */
.auth-breadcrumb {
    background: #edf2f7;
    padding: 14px 22px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-breadcrumb a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}
.auth-breadcrumb a:hover { text-decoration: underline; }
.auth-breadcrumb .current { color: #2d3748; font-weight: 600; }

/* Grid layout */
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .auth-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Form */
.auth-form {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.auth-field {
    margin-bottom: 22px;
}

.auth-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 15px;
}

.auth-field input[type=text],
.auth-field input[type=email],
.auth-field input[type=password] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.auth-field input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49,130,206,.15);
}

.field-hint {
    display: block;
    margin-top: 6px;
    color: #a0aec0;
    font-size: 12.5px;
    line-height: 1.4;
}

/* Password toggle */
.password-wrap {
    position: relative;
}
.password-wrap input {
    padding-right: 45px !important;
}
.toggle-pass {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 6px;
    opacity: .6;
    transition: opacity .2s;
}
.toggle-pass:hover { opacity: 1; }

/* Strength meter */
.pass-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.strength-bar {
    flex: 1;
    height: 5px;
    background: #edf2f7;
    border-radius: 3px;
    overflow: hidden;
}
.strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #f56565;
    transition: all .3s;
}
.strength-text {
    color: #718096;
    font-weight: 500;
    min-width: 110px;
}
.strength-weak .strength-bar span { width: 33%; background: #f56565; }
.strength-medium .strength-bar span { width: 66%; background: #ed8936; }
.strength-strong .strength-bar span { width: 100%; background: #48bb78; }

.strength-weak .strength-text { color: #f56565; }
.strength-medium .strength-text { color: #ed8936; }
.strength-strong .strength-text { color: #48bb78; }

/* CAPTCHA */
.captcha-field {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.captcha-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.captcha-question {
    flex: 1;
    min-width: 180px;
}
.captcha-label {
    display: block;
    font-size: 12px;
    color: #718096;
    margin-bottom: 4px;
}
.captcha-math {
    font-size: 1.3rem;
    color: #2d3748;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}
.captcha-input {
    width: 130px !important;
    padding: 10px 12px !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 600;
}

/* Checkbox */
.auth-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}
.auth-checkbox input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: #3182ce;
    cursor: pointer;
}

/* Submit */
.auth-submit {
    margin-top: 25px;
}
.btn-auth-primary {
    width: 100%;
    padding: 14px 24px;
    background: #3182ce;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .3px;
}
.btn-auth-primary:hover {
    background: #2b6cb0;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(49,130,206,.3);
}
.btn-auth-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Footer link */
.auth-footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #718096;
}
.auth-footer-link a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
}
.auth-footer-link a:hover { text-decoration: underline; }
.auth-flex-between {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Alerts */
.auth-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}
.auth-alert ul {
    margin: 6px 0 0 18px;
    padding: 0;
}
.auth-alert li { margin-bottom: 4px; }

.auth-alert-error {
    background: #fed7d7;
    color: #822727;
    border-left: 4px solid #f56565;
}
.auth-alert-success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #48bb78;
}
.auth-alert-info {
    background: #bee3f8;
    color: #2c5282;
    border-left: 4px solid #4299e1;
}

/* Info column */
.auth-info-col {
    padding-top: 20px;
}
.info-title {
    font-size: 1.9rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 800;
}
.info-desc {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.info-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #2d3748;
    font-size: 15px;
    border-bottom: 1px solid #f7fafc;
}
.info-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #3182ce;
    font-size: 1.5rem;
    line-height: 1;
}
.info-verify-note {
    background: #fffaf0;
    border-left: 4px solid #ed8936;
    padding: 18px;
    border-radius: 8px;
    margin-top: 20px;
}
.info-verify-note strong {
    display: block;
    color: #7b341e;
    margin-bottom: 6px;
}
.info-verify-note p {
    color: #744210;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Login notice */
.login-notice {
    margin-top: 20px;
    padding: 14px 18px;
    background: #ebf8ff;
    color: #2c5282;
    border-left: 4px solid #4299e1;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.6;
}

/* Honeypot */
.bd-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    pointer-events: none;
}

/* ==================
   VERIFY PAGE
   ================== */
.auth-verify .verify-box {
    max-width: 560px;
    margin: 40px auto;
    background: #fff;
    padding: 45px 40px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    text-align: center;
}
.verify-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    line-height: 1;
}
.verify-icon-success {
    animation: bounceIn .6s;
}
@keyframes bounceIn {
    0% { transform: scale(.3); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.verify-box h1 {
    font-size: 1.7rem;
    color: #1a202c;
    margin-bottom: 15px;
}
.verify-box > p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}
.verify-note {
    background: #fefcbf;
    padding: 12px 16px;
    border-radius: 8px;
    color: #744210 !important;
    font-size: 13.5px !important;
}
.verify-form {
    text-align: left;
    margin-top: 25px;
    padding: 0;
    box-shadow: none;
    background: transparent;
}
.verify-back {
    margin-top: 20px;
}
.verify-back a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}
.verify-back a:hover { text-decoration: underline; }

/* =====================
   RESPONSIVE (Final)
   ===================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 50px 0; }

    .menu-toggle { display: block; }
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        display: none;
    }
    .primary-nav.open { display: block; }
    .primary-menu {
        flex-direction: column;
        gap: 0;
        padding: 15px 20px;
    }
    .primary-menu li { width: 100%; }
    .primary-menu a { display: block; padding: 12px 0; }

    .single-bookmark { padding: 25px; }
    .single-header h1 { font-size: 1.5rem; }
    .single-meta { font-size: 13px; gap: 12px; }

    .dashboard-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .auth-form { padding: 24px; }
    .auth-breadcrumb { padding: 12px 16px; font-size: 13px; }
    .info-title { font-size: 1.5rem; }
    .captcha-box { flex-direction: column; align-items: stretch; }
    .captcha-input { width: 100% !important; }
}
/* =====================================================
   FOOTER — Enhanced
   ===================================================== */

/* ==================
   FOOTER WIDGETS
   ================== */
.footer-widgets {
    background: #1a202c;
    border-bottom: 1px solid #2d3748;
    padding: 40px 0;
}

.footer-widgets .widget {
    color: #cbd5e0;
}

.footer-widgets .widget-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #3182ce;
    padding-bottom: 10px;
    display: inline-block;
}

/* ==================
   FOOTER UTAMA
   ================== */
.site-footer {
    background: #1a202c;
    color: #cbd5e0;
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #2b6cb0, #ed8936);
}

/* ==================
   FOOTER GRID
   ================== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* ==================
   FOOTER COLUMN
   ================== */
.footer-col {
    min-width: 0;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #3182ce;
    border-radius: 2px;
}

/* ==================
   FOOTER BRAND
   ================== */
.footer-brand .footer-title {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0;
}

.footer-brand .footer-title::after {
    display: none;
}

.footer-brand .footer-title img {
    max-height: 40px;
    width: auto;
}

.footer-desc {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* ==================
   SOSIAL MEDIA
   ================== */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    transition: all .25s;
    color: #fff;
}

.footer-social a:hover {
    background: #3182ce;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(49,130,206,.4);
}

/* ==================
   FOOTER MENU
   ================== */
.footer-menu,
.footer-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-cats li {
    margin-bottom: 10px;
}

.footer-menu a,
.footer-cats a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-menu a:hover,
.footer-cats a:hover {
    color: #63b3ed;
    padding-left: 4px;
}

.footer-menu a::before,
.footer-cats a::before {
    content: '›';
    color: #3182ce;
    font-weight: 700;
    font-size: 16px;
    transition: transform .2s;
}

.footer-menu a:hover::before,
.footer-cats a:hover::before {
    transform: translateX(2px);
}

/* Count kategori */
.footer-cats .cat-count {
    color: #718096;
    font-size: 12px;
    font-weight: 400;
}

/* ==================
   FOOTER CONTACT
   ================== */
.footer-contact p {
    font-size: 13.5px;
    line-height: 1.7;
}

.footer-contact a {
    color: #63b3ed;
    text-decoration: none;
    transition: color .2s;
}

.footer-contact a:hover {
    color: #90cdf4;
    text-decoration: underline;
}

/* ==================
   FOOTER BOTTOM
   ================== */
.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright p {
    margin: 0;
    font-size: 13.5px;
    color: #718096;
}

.footer-copyright strong {
    color: #cbd5e0;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: #63b3ed;
}

.footer-links span {
    color: #4a5568;
    font-size: 12px;
}

/* ==================
   FOOTER CREDIT
   ================== */
.footer-credit {
    text-align: center;
    border-top: 1px solid #2d3748;
    margin-top: 20px;
    padding-top: 20px;
}

.footer-credit p {
    margin: 0;
}

.footer-credit a {
    transition: color .2s;
}

.footer-credit a:hover {
    color: #90cdf4;
}

/* ==================
   BACK TO TOP BUTTON
   ================== */
.bd-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: #3182ce;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(49,130,206,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
}

.bd-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bd-back-to-top:hover {
    background: #2b6cb0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(49,130,206,.5);
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 40px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-links {
        justify-content: center;
    }

    .bd-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .footer-brand .footer-title {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}
/* =====================================================
   FOOTER WIDGETS GRID
   ===================================================== */
.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-widgets-grid .footer-widget {
    color: #cbd5e0;
}

.footer-widgets-grid .footer-widget-title {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 18px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-widgets-grid .footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: #3182ce;
    border-radius: 2px;
}

/* =====================================================
   FOOTER BOTTOM WIDGETS
   ===================================================== */
.footer-bottom-widgets {
    border-top: 1px solid #2d3748;
    padding: 25px 0;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-widgets .footer-bottom-widget {
    display: inline-block;
}

.footer-bottom-widgets .footer-bottom-title {
    color: #fff;
    font-size: 13px;
    margin: 0 0 8px;
    font-weight: 600;
}

.footer-bottom-widgets p {
    margin: 0;
    font-size: 13px;
    color: #a0aec0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-widgets {
        flex-direction: column;
        text-align: center;
    }
}