/* =====================================================
   ALRECA DIGITAL & SOLUTION - Custom styles (Noxfolio)
   ===================================================== */

/* ===== Hero content ===== */
.ra-hero-content {
    max-width: 100%;
}
.ra-hero-content .h2 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}
.ra-hero-content h1 {
    font-size: clamp(42px, 4.4vw, 66px);
    line-height: 1.12;
}
.ra-hero-content p {
    max-width: 560px;
}

/* ===== Navbar logo ===== */
.main-header .logo img {
    display: block;
    height: 74px;
    width: auto;
}
.main-menu .mobile-logo img {
    display: block;
    height: 60px;
    width: auto;
}

/* ===== Navbar height ===== */
@media (min-width: 992px) {
    .main-menu .navbar-collapse li {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .main-header.fixed-header .main-menu .navbar-collapse > ul > li {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

/* ===== Hero background visual ===== */
.ra-hero-section .ra-hero-row {
    position: relative;
    z-index: 1;
}
.ra-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 42%;
    z-index: 0;
    background-image: url('../images/hero/heroo.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
    transition: opacity 0.4s ease;
}

/* ===== Project tech tags ===== */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.project-tech li {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    padding: 4px 13px;
    border-radius: 20px;
    background: #131313;
    border: 1px solid var(--border-color);
    transition: 0.5s;
}
.project-tech li:hover {
    color: var(--black-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== Technology cards ===== */
.tech-item {
    text-align: center;
    padding: 26px 12px 20px;
    margin-bottom: 26px;
    border-radius: 14px;
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
    transition: 0.5s;
}
.tech-item .icon {
    font-size: 34px;
    color: var(--primary-color);
}
.tech-item h5 {
    margin: 12px 0 0;
    font-size: 17px;
}
.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

/* ===== Why RA ===== */
.why-item {
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    transition: 0.5s;
}
.why-item:hover {
    border-color: var(--primary-color);
}
.why-item .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 22px;
    color: var(--black-color);
    background: var(--primary-color);
}
.why-item h4 {
    margin-bottom: 10px;
}
.why-item p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== CTA ===== */
.cta-content h2 {
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1.15;
}
.cta-content p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.55);
}
.cta-content .theme-btn {
    margin-top: 12px;
}

/* ===== About profile ===== */
.about-profile-image .profile-frame {
    padding: 20px;
    border-radius: 20px;
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
}
.about-profile-image .profile-frame img {
    width: 100%;
    display: block;
    border-radius: 14px;
}
.about-profile-content .role {
    color: var(--primary-color);
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
}
.about-profile-content .section-title p {
    color: rgba(255, 255, 255, 0.55);
}

/* ===== Contact info cards ===== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}
.contact-info-item:last-child {
    border-bottom: none;
}
.contact-info-item .icon {
    width: 48px;
    height: 48px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--black-color);
    background: var(--primary-color);
}
.contact-info-item h5 {
    margin-bottom: 4px;
}
.contact-info-item a,
.contact-info-item span {
    color: rgba(255, 255, 255, 0.55);
}
.contact-info-item a:hover {
    color: var(--primary-color);
}

/* ===== Project card overlay (RA style) ===== */
.ra-project-item .project-image::before {
    display: none;
}
.ra-project-item .project-image .details-btn {
    display: none;
}
.ra-project-item .project-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.ra-project-item .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.ra-project-item:hover .project-image img {
    transform: scale(1.04);
}
.ra-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 26px;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.05) 0%, rgba(7, 7, 7, 0.35) 45%, rgba(7, 7, 7, 0.88) 100%);
}
.ra-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ra-pill {
    display: inline-flex;
    align-items: center;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--black-color);
    background: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
}
.ra-overlay-btn {
    width: 46px;
    height: 46px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: var(--black-color);
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: 0.5s;
}
.ra-overlay-btn:hover {
    background: #fff;
}
.ra-overlay-caption {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}
.ra-caption-bar {
    width: 4px;
    height: 62px;
    flex: none;
    border-radius: 4px;
    background: var(--primary-color);
}
.ra-caption-title {
    margin: 0 0 4px;
    font-size: 32px;
    line-height: 1.15;
}
.ra-caption-title a {
    color: #fff;
    transition: 0.4s;
}
.ra-caption-title a:hover {
    color: var(--primary-color);
}
.ra-caption-subtitle {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}
.ra-overlay-lg {
    padding: 34px 40px;
}
.ra-overlay-lg .ra-caption-bar {
    height: 84px;
}
.ra-overlay-lg .ra-caption-title {
    font-size: clamp(30px, 3.4vw, 48px);
    margin-bottom: 8px;
}
.ra-overlay-lg .ra-caption-subtitle {
    font-size: 15px;
    max-width: 640px;
}
.ra-detail-item .project-image {
    margin-bottom: 0;
    border-radius: 24px;
}
.ra-tech-block h4 {
    font-size: 22px;
}

/* ===== Responsive ===== */
@media only screen and (max-width: 1199px) {
    .ra-hero-bg { left: 46%; }
}

@media only screen and (max-width: 991px) {
    .ra-hero-bg {
        left: 30%;
        opacity: 0.4;
    }
    .about-profile-image { max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media only screen and (max-width: 767px) {
    .contact-info-item { gap: 12px; padding: 14px 0; }
    .why-item { padding: 24px 20px; }
    .project-tech li { padding: 4px 11px; font-size: 11px; }
    .ra-overlay { padding: 16px 18px; }
    .ra-caption-title { font-size: 26px; }
    .ra-caption-bar { height: 48px; }
    .ra-overlay-btn { width: 40px; height: 40px; font-size: 14px; }
}

@media only screen and (max-width: 575px) {
    .ra-hero-bg {
        left: 0;
        opacity: 0.22;
        -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 70%);
        mask-image: linear-gradient(90deg, transparent 15%, #000 70%);
    }
    .about-profile-image .profile-frame { padding: 14px; border-radius: 16px; }
    .contact-info-item .icon { width: 44px; height: 44px; font-size: 16px; }
}

/* =====================================================
   RA Admin Panel
   ===================================================== */
.ra-admin-body {
    background: #070707;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}
.ra-admin-body a {
    transition: 0.4s;
}

/* ---- Layout ---- */
.ra-admin {
    display: flex;
    min-height: 100vh;
}
.ra-admin-sidebar {
    width: 260px;
    flex: none;
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    background: #0d0d0d;
    border-right: 1px solid var(--border-color);
    padding: 26px 20px;
    z-index: 30;
}
.ra-admin-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ---- Sidebar ---- */
.ra-admin-brand {
    padding-bottom: 26px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.ra-admin-brand img {
    height: 40px;
}
.ra-admin-nav-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}
.ra-admin-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    margin-bottom: 6px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}
.ra-admin-nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}
.ra-admin-nav a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.04);
}
.ra-admin-nav a.active {
    color: var(--black-color);
    background: var(--primary-color);
}
.ra-admin-nav a.active i {
    color: var(--black-color);
}
.ra-admin-sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ra-admin-sidebar-footer a,
.ra-admin-sidebar-footer button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 15px;
    border: none;
    border-radius: 12px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    cursor: pointer;
}
.ra-admin-sidebar-footer a i,
.ra-admin-sidebar-footer button i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}
.ra-admin-sidebar-footer a:hover,
.ra-admin-sidebar-footer button:hover {
    color: #ff5f57;
}

/* ---- Topbar ---- */
.ra-admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 34px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(13, 13, 13, 0.6);
}
.ra-admin-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}
.ra-admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ra-admin-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    color: var(--black-color);
    background: var(--primary-color);
}
.ra-admin-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.ra-admin-user-meta strong {
    font-size: 14px;
}
.ra-admin-user-meta small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* ---- Content ---- */
.ra-admin-content {
    flex: 1;
    padding: 34px;
}
.ra-admin-footer {
    padding: 18px 34px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ---- Alerts ---- */
.ra-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 20px;
    margin-bottom: 26px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.ra-alert i {
    margin-top: 2px;
}
.ra-alert-success {
    color: var(--black-color);
    background: var(--primary-color);
}
.ra-alert-danger {
    color: #fff;
    background: rgba(255, 95, 87, 0.14);
    border: 1px solid rgba(255, 95, 87, 0.45);
}

/* ---- Stats ---- */
.ra-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 26px;
}
.ra-row-main {
    grid-template-columns: 1fr 340px;
    align-items: start;
}
.ra-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 18px;
}
.ra-stat-icon {
    width: 54px;
    height: 54px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 22px;
    color: var(--black-color);
    background: var(--primary-color);
}
.ra-stat-meta {
    display: flex;
    flex-direction: column;
}
.ra-stat-value {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}
.ra-stat-label {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Panels ---- */
.ra-panel {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 26px;
}
.ra-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.ra-panel-head h3 {
    margin: 0;
    font-size: 20px;
}
.ra-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
}
.ra-link:hover {
    color: #fff;
}

/* ---- Table ---- */
.ra-table-wrap {
    overflow-x: auto;
}
.ra-table {
    width: 100%;
    border-collapse: collapse;
}
.ra-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.ra-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}
.ra-table tbody tr:last-child td {
    border-bottom: none;
}
.ra-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}
.ra-project-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
}
.ra-project-cell img {
    width: 64px;
    height: 46px;
    flex: none;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.ra-project-cell div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ra-project-cell strong {
    font-size: 14px;
    white-space: nowrap;
}
.ra-project-cell small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}
.ra-table-actions {
    text-align: right;
    white-space: nowrap;
}
.ra-table-actions form {
    display: inline-block;
}
.ra-action {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #131313;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    vertical-align: middle;
}
.ra-action:hover {
    color: var(--black-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.ra-action-danger:hover {
    color: #fff;
    background: #ff5f57;
    border-color: #ff5f57;
}

/* ---- Sortable project table ---- */
.ra-table-grip {
    width: 44px;
    padding-right: 4px !important;
    padding-left: 8px !important;
}
.ra-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 34px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 15px;
    cursor: grab;
    transition: color 0.2s ease, background 0.2s ease;
}
.ra-drag-handle:hover,
.ra-drag-handle:active {
    color: var(--primary-color);
    background: rgba(201, 243, 29, 0.08);
    cursor: grabbing;
}
.ra-table-sortable tbody tr[data-id] {
    cursor: default;
}
.ra-table-sortable tbody tr.ra-dragging {
    opacity: 0.35;
}
.ra-table-sortable tbody tr.ra-drop-target td {
    box-shadow: inset 0 2px 0 0 var(--primary-color);
}
.ra-table-sortable tbody tr.ra-drop-target.ra-drop-after td {
    box-shadow: inset 0 -2px 0 0 var(--primary-color);
}
.ra-reorder-hint {
    margin: 14px 2px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}
.ra-reorder-hint i {
    margin-right: 6px;
    color: var(--primary-color);
}
.ra-reorder-status {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--primary-color);
}

/* ---- Badges ---- */
.ra-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ra-badge-active {
    color: var(--black-color);
    background: var(--primary-color);
}
.ra-badge-inactive {
    color: rgba(255, 255, 255, 0.6);
    background: #1a1a1a;
}
.ra-badge-soon {
    color: var(--primary-color);
    border: 1px solid rgba(201, 243, 29, 0.45);
    background: rgba(201, 243, 29, 0.08);
}

/* ---- Toolbar ---- */
.ra-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.ra-toolbar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}
.ra-btn-small {
    padding: 12px 24px;
    font-size: 14px;
}

/* ---- Quick actions ---- */
.ra-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ra-quick-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: #111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    transition: 0.4s;
}
.ra-quick-action i {
    font-size: 17px;
    color: var(--primary-color);
}
.ra-quick-action em {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
}
.ra-quick-action a.ra-quick-action:hover,
.ra-quick-action[type]:hover {
    border-color: var(--primary-color);
}
.ra-quick-action:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
.ra-quick-action:disabled:hover {
    border-color: var(--border-color);
}

/* ---- Soon panels ---- */
.ra-panel-soon {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ra-panel-soon h4 {
    margin: 0 0 4px;
    font-size: 17px;
}
.ra-panel-soon p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}
.ra-panel-soon .ra-badge {
    margin-left: auto;
    flex: none;
}
.ra-soon-icon {
    width: 50px;
    height: 50px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.55);
    background: #131313;
    border: 1px solid var(--border-color);
}

/* ---- Empty ---- */
.ra-empty {
    text-align: center;
    padding: 50px 20px;
}
.ra-empty i {
    font-size: 44px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 16px;
}
.ra-empty p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---- Forms ---- */
.ra-form .form-group {
    margin-bottom: 20px;
}
.ra-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
.ra-form label span {
    color: var(--primary-color);
}
.ra-input-field,
.ra-input input {
    width: 100%;
    padding: 13px 16px;
    font-family: inherit;
    font-size: 14px;
    color: #fff;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 11px;
    outline: none;
    transition: 0.3s;
}
.ra-input-field::placeholder,
.ra-input input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.ra-input-field:focus,
.ra-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 243, 29, 0.12);
}
.ra-input-error {
    border-color: #ff5f57 !important;
}
.ra-field-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #ff5f57;
}
.ra-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
.ra-form-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}
.ra-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ra-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
}
.ra-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 11px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}
.ra-btn-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ---- Checkbox ---- */
.ra-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    user-select: none;
}
.ra-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--primary-color);
    cursor: pointer;
}
.ra-check-inline {
    margin-top: 6px;
}

/* ---- Upload ---- */
.ra-upload {
    position: relative;
}
.ra-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    z-index: -1;
}
.ra-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 190px;
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    background: #111;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.ra-upload-box:hover {
    border-color: var(--primary-color);
}
.ra-upload-box i {
    font-size: 30px;
    color: var(--primary-color);
}
.ra-upload-box p {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 500;
}
.ra-upload-box small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
.ra-upload-box img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
}
.ra-current-image {
    margin-top: 16px;
}
.ra-current-image span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}
.ra-current-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* ---- Login ---- */
.ra-admin-login {
    background: #070707;
    font-family: "DM Sans", sans-serif;
}
.ra-login-wrap {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    z-index: 1;
}
.ra-login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 42px 38px;
    z-index: 2;
}
.ra-login-head {
    text-align: center;
    margin-bottom: 30px;
}
.ra-login-head img {
    height: 42px;
    margin-bottom: 18px;
}
.ra-login-head h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
}
.ra-login-head p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}
.ra-login-form .form-group {
    margin-bottom: 20px;
}
.ra-login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}
.ra-input {
    position: relative;
}
.ra-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    z-index: 1;
}
.ra-input input {
    padding-left: 44px;
}
.ra-input input:focus + i,
.ra-input input:focus ~ i {
    color: var(--primary-color);
}
.ra-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}
.ra-login-options a {
    font-size: 13px;
    color: var(--primary-color);
}
.ra-login-options a:hover {
    color: #fff;
}
.ra-login-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* ---- Admin responsive ---- */
@media only screen and (max-width: 1199px) {
    .ra-row-main { grid-template-columns: 1fr; }
    .ra-row { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 991px) {
    .ra-admin-sidebar {
        width: 220px;
    }
    .ra-admin-main { margin-left: 220px; }
    .ra-form-grid { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 767px) {
    .ra-admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
    }
    .ra-admin {
        flex-direction: column;
    }
    .ra-admin-main { margin-left: 0; }
    .ra-admin-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .ra-admin-sidebar-footer {
        flex-direction: row;
    }
    .ra-admin-topbar,
    .ra-admin-content,
    .ra-admin-footer {
        padding: 18px;
    }
    .ra-admin-title { font-size: 20px; }
    .ra-admin-user-meta { display: none; }
    .ra-form-row { grid-template-columns: 1fr; }
    .ra-panel-soon { flex-wrap: wrap; }
    .ra-panel-soon .ra-badge { margin-left: 0; }
}
@media only screen and (max-width: 479px) {
    .ra-row { grid-template-columns: 1fr; }
    .ra-admin-nav {
        grid-template-columns: 1fr;
    }
    .ra-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
