/* ========== Thir.st Theme — Base Styles ========== */
:root {
    --thst-orange: #F9612B;
    --thst-orange-hover: #DB5525;
    --thst-gold: #FFFFFF;
    --ink: #2F2F2E;
    --muted: #8D8C92;
    --bg: #FFFFFF;
    --panel: #F7EDE4; /* warm canvas for panels */
    --card: #FFFFFF;
    --shadow: 0 1px 2px rgba(0,0,0,.10);
    --shadow-focus: 0 0 0 3px rgba(249,97,43,.18);
    --border: #E6E3DE;
}

body {
   background-color: var(--bg);
    color: var(--ink);
}
/* Layout wrapper used in _Layout.cshtml */
.body-content {
    background: #fff;
    min-height: 100vh;
}

/* Remove Bootstrap gutter so pages can go edge-to-edge when they want */
.container-fluid.body-content {
    padding-left: 0;
    padding-right: 0;
}

/* Optional: remove default hr spacing if you keep <hr /> in layout */
.body-content > hr {
    margin: 0;
}

p {
    color: var(--muted);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "tt-commons-pro","TT Commons",inherit;
    color: var(--ink);
}

a {
    transition: .3s all ease;
    color: var(--thst-orange);
}

    a:hover {
        text-decoration: none !important;
        color: var(--thst-orange-hover);
    }

/* Sections */
.content {
    padding: 7rem 0;
}

h2 {
    font-size: 20px;
}

/* --- Split layout --- */
.half, .half .container > .row {
    height: 100vh;
    min-height: 900px;
}

@media (max-width:991.98px) {
    .half .bg {
        height: 200px;
    }
}

/* Panels */
.half .contents {
    background: var(--panel);
}

.half .contents {
    width: 80%;
}

.half .bg {
    width: 20%;
}

@media (max-width:991.98px) {
    .half .contents, .half .bg {
        width: 100%;
    }
}

.half .bg {
    background-size: cover;
    background-position: center;
}

/* Text links in split view */
.half a {
    color: #666;
    text-decoration: underline;
}

/* Buttons */
.half .btn {
    height: 54px;
    padding-left: 30px;
    padding-right: 30px;
    background: var(--thst-orange);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 2px 0 rgba(0,0,0,.06);
    transition: background-color .2s ease, transform .06s;
}

    .half .btn:hover {
        background: var(--thst-orange-hover);
        transform: translateY(-1px);
    }

.half .forgot-pass {
    position: relative;
    top: 2px;
    font-size: 14px;
}

/* --- Form controls --- */
.half .contents .form-control,
.half .bg .form-control {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 8px;
    height: 54px;
    background: #fff;
    color: var(--ink);
}

    .half .contents .form-control:active,
    .half .contents .form-control:focus,
    .half .bg .form-control:active,
    .half .bg .form-control:focus {
        outline: none;
        box-shadow: var(--shadow-focus);
        border-color: var(--thst-orange);
    }

/* --- Custom checkbox / radio controls --- */
.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
}

    .control .caption {
        position: relative;
        top: .2rem;
        color: #666;
    }

    .control input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #eae7e2;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #e3dfd9;
}

.control input:checked ~ .control__indicator {
    background: var(--thst-orange);
    border-color: var(--thst-orange);
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: var(--thst-orange-hover);
    border-color: var(--thst-orange-hover);
}

.control input:disabled ~ .control__indicator {
    background: #eee;
    opacity: .9;
    pointer-events: none;
}

/* Checkmark glyph */
.control__indicator:after {
    font-family: 'icomoon';
    content: '\e5ca';
    position: absolute;
    display: none;
    font-size: 16px;
    transition: .3s all ease;
    color: #fff;
}

.control input:checked ~ .control__indicator:after {
    display: block;
}

/* Align checkmark center for checkbox */
.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/* Disabled-checked subtle */
.control--checkbox input:disabled:checked ~ .control__indicator {
    background-color: #c9b6a3; /* muted warm */
    opacity: .35;
}
/* Remove Bootstrap container gutters that create the "white frame" */
.container-fluid.body-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Also ensure no default spacing is creating edges */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}
