/* --------------------------------------------------------
   IMPORT ROBOTO
---------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');


/* --------------------------------------------------------
   GLOBAL
---------------------------------------------------------*/
body, html,
div, span, p, a, li, td, th,
input, textarea, select, button,
h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif !important;
}

.clear { clear: both; }

/* --------------------------------------------------------
   HEADER (Logo left, Sign-in right)
---------------------------------------------------------*/
#header {
    background: #1f4e79;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* LOGO LEFT - SIGN-IN RIGHT */
    flex-direction: row; /* Make sure order stays correct */
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

#logo img {
    height: 55px;
    object-fit: contain;
}

#logo {
    display: flex;
    align-items: center;
}

.background {
  background-image: url("/images/logo.png");
  background-size: 150px;
  width: 300px;
  height: 300px;
  border: solid 2px red;
}

#header .pull-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#header .pull-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#header .pull-right p {
    margin: 0;
    color: #e6e9ef;
    font-size: 14px;
}

#header a {
    color: #fff;
    text-decoration: none;
    opacity: 1;
    margin: 0 4px;
}

#header a:hover {
    opacity: 1;
}

/* Style sign-in like a button */
.signin-btn {
    background: #15395c;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
}

.signin-btn:hover {
    background: #0f2b45;
}

/* Mobile Header */
@media (max-width: 600px) {
    #header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    #logo img {
        height: 45px;
    }
    #header .pull-right p {
        font-size: 13px;
    }
}

/* --------------------------------------------------------
   NAVIGATION
---------------------------------------------------------*/
#nav {
    list-style: none;
    margin: 0;
    padding: 0 40px;
    background: #ffffff;
    border-bottom: 1px solid #dfe6ee;
    display: flex;
    gap: 25px;
}

#nav li { display: inline-block; }

#nav a {
    display: inline-block;
    padding: 15px 5px;
    font-size: 15px;
    color: #4a5b78;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: .25s ease;
}

#nav a:hover {
    color: #1f4e79;
}

#nav a.active {
    color: #1f4e79;
    font-weight: 600;
    border-bottom: 2px solid #1f4e79;
}

/* Mobile Nav */
@media (max-width: 700px) {
    #nav {
        flex-wrap: wrap;
        padding: 10px 20px;
        gap: 10px;
    }
    #nav a {
        padding: 10px 5px;
        font-size: 14px;
    }
}

/* --------------------------------------------------------
   NOTIFICATIONS
---------------------------------------------------------*/
.error_bar, .warning_bar, .notice_bar,
#msg_error, #msg_warning, #msg_notice {
    padding: 15px 20px;
    margin: 15px 40px;
    border-radius: 8px;
    font-size: 15px;
}

.error_bar, #msg_error {
    background: #ffe5e5;
    color: #b70000;
    border-left: 4px solid #b70000;
}

.warning_bar, #msg_warning {
    background: #fff6e0;
    color: #a56a00;
    border-left: 4px solid #a56a00;
}

.notice_bar, #msg_notice {
    background: #e5f4ff;
    color: #005b9f;
    border-left: 4px solid #005b9f;
}

/* --------------------------------------------------------
   CONTENT BOX
---------------------------------------------------------*/
#content {
    max-width: 800px;
    margin: 35px auto;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.06);
    padding-bottom: 0px;
}

#content h1, #content h2, #content h3 {
    color: #1f4e79;
    font-weight: 600;
}

/* Mobile content */
@media (max-width: 768px) {
    #content {
        margin: 15px;
        padding: 20px;
        box-shadow: none;
        border-radius: 8px;
    }
}

/* --------------------------------------------------------
   MOBILE FRIENDLY FORM FIELDS
---------------------------------------------------------*/
input[type="text"], input[type="email"], input[type="password"],
textarea, select {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fafbfd;
    font-size: 16px;
    transition: .2s;
    box-sizing: border-box;
    margin-bottom: 18px;
    margin-left: 18px;
}

/* Focus style */
input:focus, textarea:focus, select:focus {
    border: 1px solid #dce3eb;
    border-color: #1f4e79;
    box-shadow: 0 0 4px rgba(31,78,121,0.3);
    background: #fafbfd;
}

/* Medium phones */
@media (max-width: 600px) {
    input[type="text"], input[type="email"], input[type="password"],
    textarea, select {
        padding: 16px 18px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    input[type="text"], input[type="email"], input[type="password"],
    textarea, select {
        padding: 14px 14px;
        font-size: 15px;
        border-radius: 6px;
    }
}

/* --------------------------------------------------------
   BUTTONS
---------------------------------------------------------*/
button,
.btn,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    background: #1f4e79;
    color: #ffffff !important;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}
button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background: #15395c;
}
/* --------------------------------------------------------
   LINKS IN CONTENT
---------------------------------------------------------*/
#content a {
    color: #1f4e79;
    text-decoration: none;
}
#content a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------
   FOOTER
---------------------------------------------------------*/
#footer {
    text-align: center;
    margin: 0;
    padding: 0 10px;    /* no padding top/bottom, only left/right */
    font-size: 14px;
    color: #73849a;
}
/* Hide all user avatars in ticket threads */
.message .avatar,
.thread .avatar {
    display: none !important;
}