/* Rankmox look for the control panel: the website's dark "neon" theme.
   Colours come from rankmox.com (assets/css/neon.css). */

.fi-body {
    background-color: #131209;
    background-image: url('../brand/plaster.svg');
    background-size: 300px 300px;
}

/* Brand lockup in the sidebar and on the login page */
.rx-brand { display: inline-flex; align-items: center; gap: .6rem; }
.rx-brand img { height: 2.1rem; width: auto; }
.rx-brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: #f3f0ea; }
.rx-brand-tag {
    font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: #ffb36b; border: 1px solid rgba(255, 106, 31, .55); border-radius: 999px;
    padding: .1rem .45rem; box-shadow: 0 0 10px rgba(255, 106, 31, .25);
}

/* Login card: a soft orange neon glow */
.fi-simple-main {
    box-shadow: 0 0 0 1px rgba(255, 106, 31, .18), 0 0 40px rgba(255, 106, 31, .12);
}

/* Primary buttons glow slightly, like the website's neon tubes */
.fi-btn.fi-color-primary:not(.fi-outlined) {
    box-shadow: 0 0 14px rgba(255, 106, 31, .35);
}

/* Calendar page (Phase 2) */
.rx-cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.rx-cal-nav { display: flex; align-items: center; gap: .4rem; }
.rx-cal-month { margin-left: .6rem; font-size: 1.15rem; font-weight: 600; color: #f3f0ea; }
.rx-cal-project { min-width: 14rem; }
.rx-cal {
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid #3a3833; border-radius: .75rem; overflow: hidden; background: #181818;
}
.rx-cal-head {
    padding: .5rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
    color: #b3ada3; background: #272727; border-bottom: 1px solid #3a3833;
}
.rx-cal-day {
    min-height: 7.5rem; padding: .4rem; border-right: 1px solid #272727; border-bottom: 1px solid #272727;
    display: flex; flex-direction: column; gap: .25rem;
}
.rx-cal-day:nth-child(7n) { border-right: 0; }
.rx-cal-out { background: #131209; }
.rx-cal-out .rx-cal-date { color: #6b665e; }
.rx-cal-date { font-size: .8rem; font-weight: 600; color: #c9c3b9; }
.rx-cal-today .rx-cal-date {
    display: inline-block; width: fit-content; padding: 0 .4rem; border-radius: 999px;
    color: #131209; background: #ff6a1f; box-shadow: 0 0 10px rgba(255, 106, 31, .45);
}
.rx-cal-post {
    display: block; padding: .2rem .4rem; border-radius: .35rem; font-size: .72rem; line-height: 1.25;
    color: #f3f0ea; background: #272727; border-left: 3px solid #948e84; overflow: hidden;
}
.rx-cal-post:hover { background: #3a3833; }
.rx-cal-time { font-weight: 600; margin-right: .25rem; }
.rx-cal-proj { color: #ffb36b; margin-right: .25rem; }
.rx-cal-text { color: #c9c3b9; }
.rx-status-draft { border-left-color: #948e84; }
.rx-status-approved { border-left-color: #f59e0b; }
.rx-status-scheduled { border-left-color: #16e0d0; }
.rx-status-published { border-left-color: #22c55e; }
.rx-status-failed { border-left-color: #ef4444; }
.rx-cal-key { display: flex; flex-wrap: wrap; gap: .5rem; }
.rx-cal-key .rx-cal-post { display: inline-block; }

/* Connections page */
.rx-conn-note {
    padding: .75rem 1rem; border-radius: .75rem; font-size: .9rem; color: #f3f0ea;
    background: rgba(255, 106, 31, .08); border: 1px solid rgba(255, 106, 31, .35);
}
.rx-conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.rx-conn-card {
    display: flex; flex-direction: column; gap: .75rem; padding: 1rem 1.1rem;
    background: #181818; border: 1px solid #3a3833; border-radius: .75rem;
}
.rx-conn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.rx-conn-head h3 { font-weight: 600; font-size: 1rem; color: #f3f0ea; }
.rx-conn-body { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.rx-conn-name { font-weight: 600; color: #f3f0ea; }
.rx-conn-meta { font-size: .8rem; color: #b3ada3; }
.rx-conn-link { font-size: .8rem; color: #16e0d0; text-decoration: underline; word-break: break-all; }
.rx-conn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
