/* ==========================================================
   STAR WARS RP
   Sith-centered Arcane Veil child visual style
   Standalone MyBB theme override stylesheet
   ========================================================== */

:root {
    --sw-black: #050608;
    --sw-panel: rgba(7, 8, 11, 0.91);
    --sw-panel-2: rgba(12, 12, 16, 0.94);
    --sw-row: rgba(10, 12, 16, 0.92);
    --sw-row-hover: rgba(27, 9, 12, 0.96);

    --sw-red: #e33a3a;
    --sw-red-bright: #ff5a57;
    --sw-red-deep: #7c171c;
    --sw-border: rgba(185, 45, 49, 0.48);
    --sw-border-soft: rgba(144, 42, 47, 0.25);

    --sw-text: #d6d2d2;
    --sw-muted: #938d8f;
    --sw-link: #e64a4a;
    --sw-link-hover: #ff8882;
}

/* ----------------------------------------------------------
   PAGE BACKGROUND
   ---------------------------------------------------------- */

html {
    background: #040506;
}

body {
    background:
        linear-gradient(
            rgba(2, 3, 5, 0.26),
            rgba(3, 3, 5, 0.46)
        ),
        url(../../../images/arcaneveil/starwars_background.png)
        center top / cover fixed no-repeat !important;

    color: var(--sw-text);
}

#container,
#content {
    background: transparent !important;
}

#content > .wrapper {
    background:
        linear-gradient(
            180deg,
            rgba(5, 7, 10, 0.86),
            rgba(4, 5, 8, 0.92)
        ) !important;

    border: 1px solid rgba(168, 42, 47, 0.38) !important;

    box-shadow:
        0 0 0 1px rgba(255, 58, 58, 0.025),
        0 18px 50px rgba(0, 0, 0, 0.52),
        inset 0 0 36px rgba(120, 10, 14, 0.035);
}

/* ----------------------------------------------------------
   KEEP ARCANE VEIL SITE IDENTITY
   ---------------------------------------------------------- */

#logo {
    background:
        linear-gradient(
            180deg,
            rgba(8, 10, 16, 0.98),
            rgba(4, 5, 8, 0.98)
        ) !important;

    border-bottom: 1px solid rgba(142, 35, 42, 0.38) !important;
}

#logo::before,
#logo::after {
    border-color: rgba(203, 57, 66, 0.22) !important;
}

#logo .wrapper::before {
    background:
        radial-gradient(
            ellipse,
            rgba(170, 28, 36, 0.08) 0%,
            rgba(120, 16, 23, 0.025) 46%,
            transparent 72%
        ) !important;
}

/* ----------------------------------------------------------
   TOP USER / NAV BARS
   ---------------------------------------------------------- */

#panel .upper {
    background: rgba(4, 6, 9, 0.96) !important;
    border-top: 1px solid rgba(136, 35, 40, 0.28) !important;
    border-bottom: 1px solid rgba(136, 35, 40, 0.36) !important;
}

#panel .lower {
    background: rgba(8, 9, 12, 0.97) !important;
    border-bottom: 1px solid rgba(136, 35, 40, 0.28) !important;
}

#header a,
#panel a,
#logo ul.top_links li a {
    color: #d6b5b6 !important;
}

#header a:hover,
#panel a:hover,
#logo ul.top_links li a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 7px rgba(255, 76, 76, 0.28);
}

/* ----------------------------------------------------------
   BREADCRUMBS
   ---------------------------------------------------------- */

.navigation {
    color: #aaa3a5 !important;
    border-bottom: 1px solid rgba(170, 38, 44, 0.22) !important;
}

.navigation a,
.navigation a:link,
.navigation a:visited {
    color: #cf6467 !important;
}

.navigation a:hover {
    color: #ff9290 !important;
    text-shadow: 0 0 6px rgba(255, 70, 70, 0.22);
}

.navigation .active {
    color: #ece7e7 !important;
    text-shadow: 0 0 8px rgba(176, 30, 36, 0.12);
}

/* ----------------------------------------------------------
   CATEGORY HEADERS
   ---------------------------------------------------------- */

.thead {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(51, 11, 15, 0.98) 0%,
            rgba(15, 9, 12, 0.98) 100%
        ) !important;

    color: #f0d5d5 !important;

    border: 1px solid rgba(179, 43, 49, 0.50) !important;
    border-bottom-color: rgba(229, 60, 64, 0.58) !important;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.025),
        inset 0 -1px rgba(255, 59, 59, 0.045),
        0 2px 8px rgba(0, 0, 0, 0.38) !important;
}

/* Suppress ArcaneVeil violet divider artwork */
.thead::before {
    content: "" !important;
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(197, 37, 43, 0.14),
            transparent 47%
        ),
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(170, 28, 34, 0.10) 25%,
            rgba(236, 65, 67, 0.26) 50%,
            rgba(170, 28, 34, 0.10) 75%,
            transparent 100%
        ) !important;

    opacity: 1 !important;
    pointer-events: none;
}

.thead::after {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(193, 38, 44, 0.18),
            rgba(255, 70, 72, 0.62),
            rgba(193, 38, 44, 0.18),
            transparent
        ) !important;
}

.thead > * {
    position: relative;
    z-index: 1;
}

.thead a,
.thead a:link,
.thead a:visited {
    color: #f4c7c8 !important;
}

.thead a:hover {
    color: #ffffff !important;
}

.thead strong > a::before {
    color: #d83c42 !important;
    text-shadow: 0 0 7px rgba(255, 67, 72, 0.42) !important;
}

/* ----------------------------------------------------------
   TABLE SUBHEADERS
   ---------------------------------------------------------- */

.tcat {
    background:
        linear-gradient(
            180deg,
            #151318 0%,
            #0b0d10 100%
        ) !important;

    color: #b9acad !important;

    border-top: 1px solid rgba(153, 44, 49, 0.22) !important;
    border-bottom: 1px solid rgba(153, 44, 49, 0.32) !important;
}

/* ----------------------------------------------------------
   TABLE / PANEL FRAMES
   ---------------------------------------------------------- */

.tborder {
    background: rgba(20, 13, 16, 0.97) !important;

    border: 1px solid rgba(154, 41, 46, 0.44) !important;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 69, 69, 0.018) !important;
}

/* ----------------------------------------------------------
   ROWS
   ---------------------------------------------------------- */

.trow1,
.trow2 {
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 13, 0.96) 0%,
            rgba(13, 13, 17, 0.96) 55%,
            rgba(7, 9, 12, 0.96) 100%
        ) !important;

    color: #c9c3c4 !important;
    border-color: rgba(128, 57, 61, 0.20) !important;

    transition:
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.trow1:hover,
.trow2:hover,
#threads tr:hover .trow1,
#threads tr:hover .trow2 {
    background:
        linear-gradient(
            90deg,
            rgba(34, 10, 14, 0.97),
            rgba(24, 12, 16, 0.97)
        ) !important;

    box-shadow:
        inset 3px 0 0 rgba(225, 53, 57, 0.52),
        inset 0 0 18px rgba(170, 24, 29, 0.05) !important;
}

.trow1 a,
.trow2 a,
#threads .subject_new a,
#threads .subject_old a {
    color: var(--sw-link) !important;
}

.trow1 a:hover,
.trow2 a:hover,
#threads .subject_new a:hover,
#threads .subject_old a:hover {
    color: var(--sw-link-hover) !important;
    text-shadow: 0 0 6px rgba(255, 72, 72, 0.25);
}

.smalltext,
small,
.author,
#threads .smalltext {
    color: var(--sw-muted) !important;
}

.author a,
#threads .smalltext a {
    color: #bf6c6e !important;
}

/* ----------------------------------------------------------
   STATUS ICONS
   ---------------------------------------------------------- */

.forum_status,
.thread_status {
    background-image: none !important;

    width: 14px !important;
    height: 14px !important;

    border-radius: 50%;
    border: 1px solid #6c393b !important;

    background: #241214 !important;

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.025),
        0 0 5px rgba(0, 0, 0, 0.55);
}

.forum_on,
.thread_status.newfolder,
.thread_status.newhotfolder,
.thread_status.newhotlockfolder,
.thread_status.newlockfolder,
.thread_status.dot_newfolder,
.thread_status.dot_newhotfolder,
.thread_status.dot_newhotlockfolder,
.thread_status.dot_newlockfolder {
    background: #d33b40 !important;
    border-color: #ff6464 !important;

    box-shadow:
        0 0 8px rgba(255, 62, 67, 0.48) !important;
}

.forum_off {
    background: #1b1c20 !important;
    border-color: #4b4447 !important;
}

/* ----------------------------------------------------------
   FOOTERS
   ---------------------------------------------------------- */

.tfoot {
    background: rgba(10, 10, 14, 0.95) !important;
    color: #978e90 !important;

    border-color: rgba(140, 41, 45, 0.26) !important;
}

.tfoot a,
.tfoot a:link,
.tfoot a:visited {
    color: #bd6669 !important;
}

/* ----------------------------------------------------------
   FORM CONTROLS
   ---------------------------------------------------------- */

input.textbox,
input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
textarea,
select {
    background: #080a0d !important;
    color: #d0c9ca !important;

    border: 1px solid #483033 !important;
    border-radius: 4px;

    box-shadow:
        inset 0 1px 4px rgba(0, 0, 0, 0.42);

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

input.textbox:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    background: #0c0d10 !important;
    border-color: #9d3439 !important;

    box-shadow:
        0 0 0 1px rgba(214, 47, 52, 0.09),
        0 0 9px rgba(185, 37, 42, 0.13) !important;

    outline: none;
}

select option {
    background: #080a0d;
    color: #d0c9ca;
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */

input.button,
input[type="submit"],
input[type="button"],
button,
.button,
a.button:link,
a.button:visited,
.postbit_buttons > a,
.postbit_buttons > a:link,
.postbit_buttons > a:visited {
    background:
        linear-gradient(
            180deg,
            #351216 0%,
            #170a0d 100%
        ) !important;

    color: #efc2c2 !important;

    border: 1px solid #743038 !important;
    border-radius: 4px;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.025),
        0 1px 4px rgba(0, 0, 0, 0.35);

    text-shadow: none !important;
}

input.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover,
a.button:hover,
.postbit_buttons > a:hover {
    background:
        linear-gradient(
            180deg,
            #50171d 0%,
            #230c10 100%
        ) !important;

    color: #ffffff !important;

    border-color: #b5474d !important;

    box-shadow:
        0 0 8px rgba(224, 49, 54, 0.20) !important;
}

/* ----------------------------------------------------------
   POSTS
   ---------------------------------------------------------- */

.post {
    background: rgba(5, 7, 10, 0.74) !important;
    color: #d0cbcc !important;

    border: 1px solid rgba(145, 42, 46, 0.26);

    box-shadow:
        inset 0 0 24px rgba(147, 22, 28, 0.022),
        0 0 16px rgba(0, 0, 0, 0.28);

    margin-bottom: 18px !important;
}

.post .post_author,
.post_author {
    background:
        linear-gradient(
            180deg,
            rgba(24, 13, 16, 0.96) 0%,
            rgba(8, 9, 12, 0.96) 100%
        ) !important;

    color: #bdb5b6 !important;

    border: 1px solid #3c2529 !important;
    border-left: 3px solid #8d2930 !important;

    box-shadow:
        inset 8px 0 18px rgba(180, 30, 36, 0.035),
        0 2px 8px rgba(0, 0, 0, 0.28) !important;
}

.post .post_author div.author_avatar img,
.post .author_avatar img {
    background: #050608 !important;

    border: 1px solid #673338 !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.50),
        0 0 9px rgba(197, 40, 45, 0.08) !important;
}

.post_author .author_statistics,
.post .author_statistics {
    color: #8f8587 !important;

    border-top-color: rgba(145, 41, 47, 0.20) !important;
}

.post .post_content,
.post_content,
.post_body {
    background: rgba(5, 7, 10, 0.36) !important;
    color: #d2cdce !important;
}

.post_content .post_head,
.post .post_head {
    background: rgba(7, 8, 11, 0.55) !important;
    color: #8f8587 !important;

    border-bottom-color: rgba(146, 39, 44, 0.17) !important;
}

.post .post_controls,
.post_controls {
    background: rgba(7, 8, 11, 0.76) !important;

    border-top: 1px solid rgba(146, 39, 44, 0.18) !important;
    border-bottom-color: rgba(146, 39, 44, 0.20) !important;
}

.post_body a,
.post_body a:link,
.post_body a:visited {
    color: #dc5054 !important;
}

.post_body a:hover {
    color: #ff8580 !important;
    text-shadow: 0 0 5px rgba(255, 67, 67, 0.22);
}

/* ----------------------------------------------------------
   QUOTES / CODE
   ---------------------------------------------------------- */

blockquote {
    background:
        linear-gradient(
            90deg,
            rgba(22, 11, 14, 0.96),
            rgba(9, 10, 13, 0.96)
        ) !important;

    color: #c0b8b9 !important;

    border: 1px solid #453034 !important;
    border-left: 3px solid #96353b !important;
}

.codeblock {
    background: #07090c !important;
    color: #d0cbcc !important;

    border: 1px solid #453034 !important;
}

/* ----------------------------------------------------------
   QUICK REPLY / EDITOR
   ---------------------------------------------------------- */

#quick_reply_form {
    background: rgba(5, 7, 10, 0.82) !important;
}

.sceditor-container {
    background: #080a0d !important;

    border: 1px solid #493034 !important;
}

div.sceditor-toolbar {
    background:
        linear-gradient(
            180deg,
            #1d1114,
            #0b0c0f
        ) !important;

    border-bottom-color: #493034 !important;
}

.sceditor-group {
    background: #130c0f !important;
    border-color: #493034 !important;
}

.sceditor-button:hover {
    background: #42151a !important;
    border-color: #8b343a !important;
}

.sceditor-container iframe,
.sceditor-container textarea {
    background: #07090c !important;
    color: #d2cdce !important;
}

/* ----------------------------------------------------------
   SHOUTBOX
   ---------------------------------------------------------- */

#shoutbox {
    background: rgba(6, 7, 10, 0.95) !important;

    border: 1px solid rgba(151, 41, 46, 0.43) !important;
}

#shoutbox .head {
    background:
        linear-gradient(
            180deg,
            #301015,
            #110a0d
        ) !important;

    color: #efc2c2 !important;

    border-bottom-color: rgba(174, 45, 50, 0.45) !important;
}

#shoutbox .window,
#shoutbox .data {
    background: #080a0d !important;
}

#shoutbox .entry:nth-child(even) {
    background: rgba(25, 10, 13, 0.42) !important;
}

#shoutbox .text {
    color: #cec8c9 !important;
}

/* ----------------------------------------------------------
   USER CP / MOD CP PANELS
   ---------------------------------------------------------- */

#usercp_menu .tborder,
.usercp_nav_menu,
fieldset,
form[action*="usercp.php"] fieldset,
form[action*="modcp.php"] fieldset {
    background:
        linear-gradient(
            135deg,
            rgba(15, 11, 14, 0.97),
            rgba(6, 8, 11, 0.97)
        ) !important;

    border-color: rgba(132, 48, 53, 0.48) !important;
}

#usercp_menu .tcat,
.usercp_nav_menu .tcat,
form[action*="usercp.php"] .tcat {
    background:
        linear-gradient(
            90deg,
            rgba(43, 16, 20, 0.96),
            rgba(9, 11, 14, 0.96)
        ) !important;

    color: #d0a6a8 !important;

    border-color: rgba(156, 48, 53, 0.30) !important;
}

.usercp_nav_item:hover,
#usercp_menu .usercp_nav_item:hover {
    background-color: rgba(172, 35, 41, 0.13) !important;
    color: #f1d4d5 !important;

    box-shadow:
        inset 2px 0 0 rgba(224, 63, 68, 0.62) !important;
}

legend {
    color: #d9adaf !important;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

#footer .upper {
    background: rgba(9, 10, 13, 0.97) !important;
    color: #8d8587 !important;

    border-top: 1px solid rgba(132, 39, 44, 0.28) !important;
    border-bottom: 1px solid rgba(132, 39, 44, 0.28) !important;
}

#footer .lower {
    background: rgba(4, 5, 8, 0.98) !important;
    color: #766f71 !important;
}

#footer a,
#footer a:link,
#footer a:visited {
    color: #a75b5e !important;
}

#footer a:hover {
    color: #ef8582 !important;
}

/* ----------------------------------------------------------
   ALERTS
   ---------------------------------------------------------- */

.red_alert {
    background:
        linear-gradient(
            90deg,
            rgba(59, 12, 17, 0.98),
            rgba(24, 9, 12, 0.98),
            rgba(59, 12, 17, 0.98)
        ) !important;

    color: #f0b8ba !important;

    border-color: rgba(189, 50, 56, 0.62) !important;
}

/* ----------------------------------------------------------
   FINAL SITH ATMOSPHERE
   ---------------------------------------------------------- */

#content > .wrapper::before {
    content: "";

    position: absolute;
    pointer-events: none;

    left: 0;
    right: 0;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(205, 43, 48, 0.24),
            rgba(255, 71, 71, 0.46),
            rgba(205, 43, 48, 0.24),
            transparent
        );
}
