﻿:root {
    --cs-dark-green: #5b8f31;
    --cs-green: #7abf42;
    --cs-blue: #00275d;
    --cs-white: #ffffff;
    --cs-bg: #f5f8f2;
    --cs-text: #17324d;
    --cs-muted: #5f7387;
    --cs-border: rgba(0, 39, 93, 0.08);
    --cs-shadow: 0 20px 60px rgba(0, 39, 93, 0.10);
    --body-bg: #f5f3f3; /*#d8c4d0; */
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--cs-text);
    /* background:
        linear-gradient(135deg, rgba(122, 191, 66, 0.08), rgba(0, 39, 93, 0.04)),
        var(--cs-bg); */
    background: var(--body-bg);
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

.site-wrap {
    min-height: 100vh;
    padding: 32px 0;
}

.site-header {
    padding: 12px 0 28px;
}

.site-logo {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.login-view {
    padding-bottom: 24px;
}

.login-card {
    border-radius: 22px;
    background: var(--cs-white);
    box-shadow: var(--cs-shadow);
}

.login-title {
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cs-blue);
}

.login-intro {
    color: var(--cs-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--cs-blue);
}

.input-group-text {
    background: #eef4ea;
    border-color: var(--cs-border);
    color: var(--cs-dark-green);
}

.form-control {
    border-color: var(--cs-border);
    min-height: 58px;
}

.form-control:focus {
    border-color: var(--cs-green);
    box-shadow: 0 0 0 0.25rem rgba(122, 191, 66, 0.18);
}

.btn-brand {
    background: linear-gradient(135deg, var(--cs-dark-green), var(--cs-green));
    border: 0;
    color: var(--cs-white);
    font-weight: 600;
    min-height: 58px;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    color: var(--cs-white);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(91, 143, 49, 0.22);
}

.embed-view {
    padding-bottom: 24px;
}

.embed-card {
    background: var(--cs-white);
    border-radius: 12px;
    box-shadow: var(--cs-shadow);
    overflow: hidden;
    border: 1px solid var(--body-bg);
}

.embed-ratio {
    /* --bs-aspect-ratio: 70%; */
    background: #edf3f8;
}

.embed-ratio #customgpt_chat {
    width: 100%;
    height: 100%;
    border: 0;
    background: var(--cs-white);
}
.embed-ratio #customgpt_chat #cgptcb-embed-chat-box-container {
    height: 100%
}

.alert-danger {
    border-radius: 14px;
}

@media (max-width: 767.98px) {
    .site-wrap {
        padding: 20px 0;
    }

    .site-header {
        padding: 8px 0 20px;
    }

    .site-logo {
        max-width: 220px;
    }

    .login-title {
        font-size: 1.6rem;
    }

    .embed-ratio {
        --bs-aspect-ratio: 140%;
    }
}