﻿:root {
    --pegasus-blue: #479FD7;
    --pegasus-blue-dark: #3577a1;
    --pegasus-blue-light: #66B8E7;
    --pegasus-blue-rgb: 71, 159, 215;
    --dark-blue: #66A1F4;
    --bg-grey: #f9fafb;
    --bg-grey-dark: #e5e7eb;
    --bg-grey-darker: #d1d5db;
    --bg-grey-darkest: #9ca3af;
    --primary-grey: #555455;
    --primary-grey-dark: #424242;
    --primary-grey-light: #727172;
    --primary-grey-lighter: #9c9b9c;
    --bg-grey-rgb: 249, 250, 251;
    --bg-grey-dark-rgb: 229, 231, 235;
    --primary-grey-rgb: 85, 84, 85;
    --primary-grey-dark-rgb: 66, 66, 66;
    --primary-grey-light-rgb: 114, 113, 114;
    --helvetica: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --monospace: "Courier New", Courier, monospace;
    --roboto: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --consolas: Consolas, "Courier New", Courier, monospace;
}

@font-face {
    font-family: 'TablerIcons';
    src: url('/assets/fonts/tabler-icons.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* === Buttons === */

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px;
}

.btn {
    margin: 5px;
    padding: 10px 20px;
    font-size: 25px;
    font-family: var(--helvetica);
    font-weight: 400;
    background-color: transparent;
    color: var(--pegasus-blue);
    border: 1px solid var(--pegasus-blue);
    cursor: pointer;
    white-space: normal;
    min-width: 120px;
    max-width: 180px;
    margin-bottom: 30px;
    transition-duration: 0.4s;
    border-radius: 4px;
    text-decoration: none;
}

    .btn:hover {
        background-color: var(--dark-blue);
        border-color: var(--dark-blue);
        color: white;
    }

.btn-blue {
    color: white !important;
    border: 1px solid white !important;
    background-color: var(--pegasus-blue) !important;
}



    .btn-blue:hover {
        color: white !important;
        border: 1px solid white !important;
        background-color: var(--pegasus-blue-dark) !important;
    }


.btn-red {
    color: #ff3d3d !important;
    border: 1px solid red !important;
}

.btn-red-filled {
    color: white !important;
    background-color: #ff3d3d !important;
    border: none !important;
    outline: none !important;
}

    .btn-red-filled:hover {
        color: white !important;
        background-color: #d63131 !important;
        border: none !important;
        outline: none !important;
    }


.btn-red:hover {
    background-color: red !important;
    border-color: red !important;
    color: white !important;
}


.btn-green {
    color: #3BC83B !important;
    border: 1px solid #3BC83B !important;
}

.btn-green-filled {
    color: white !important;
    background-color: #3BC83B !important;
    border: 1px solid #3BC83B !important;
    outline: none !important;
}

    .btn-green-filled:hover {
        background-color: #39BC39 !important;
        border-color: #39BC39 !important;
        color: white !important;
    }

.btn-green:hover {
    background-color: #3BC83B !important;
    border-color: #3BC83B !important;
    color: white !important;
}

.btn-yellow {
    color: yellow !important;
    border: 1px solid yellow !important;
}

.btn-yellow-filled {
    color: white !important;
    background-color: yellow !important;
    border: none !important;
    outline: none !important;
}

.btn-yellow:hover {
    background-color: yellow !important;
    border-color: yellow !important;
    color: white !important;
}

.btn-small {
    margin: 5px;
    padding: 8px 10px;
    font-size: 18px;
    font-family: var(--helvetica);
    font-weight: 400;
    min-width: 120px;
    max-width: 150px;
}

.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(20%);
}

.btn-smaller {
    margin: 5px;
    padding: 5px 8px;
    font-size: 16px;
    font-family: var(--helvetica);
    font-weight: 400;
    min-width: 70px;
    max-width: 120px;
}

.linkbtn-div {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    justify-content: center;
}

.linkbtn{
    text-decoration:none;
}

.linkbtn-horizontal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    margin: 0;
    box-sizing: border-box;
    max-width:none !important;
}

.btn-horizontal-only {
    max-width: none !important;
    min-width: fit-content !important;
}

.btn-grey-filled {
    color: white !important;
    background-color: var(--primary-grey) !important;
    border: none !important;
    outline: none !important;
}

/* === Text === */
.title-1 {
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 21px;
}

.title-2 {
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 19px;
}

.title-3 {
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 16px;
}

.title-4 {
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 13px;
}

.text-pegasus-blue {
    color: var(--pegasus-blue);
}

.text-danger {
    cursor: default;
    color: var(--bg-grey) !important;
    font-family: var(--helvetica);
    font-size: 15px;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 15px;
    background-color: red;
    padding: 5px 13px 5px 13px;
    width: fit-content;
}

.text-good {
    cursor: default;
    color: var(--bg-grey);
    font-family: var(--helvetica);
    font-size: 15px;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 15px;
    background-color: green;
    padding: 5px 13px 5px 13px;
    width: fit-content;
}

.text-yellow {
    cursor: default;
    color: var(--bg-grey);
    font-family: var(--helvetica);
    font-size: 15px;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 15px;
    background-color: yellow;
    padding: 5px 13px 5px 13px;
    width: fit-content;
}

.text-black {
    color: black;
}

.text-grey {
    color: var(--primary-grey);
}

.text-grey-light {
    color: var(--primary-grey-light);
}

.text-grey-dark {
    color: var(--primary-grey-dark) !important;
}

.fs-7 {
    font-size: 0.75rem !important; 
}

.fs-8 {
    font-size: 0.625rem !important; 
}

.fs-9 {
    font-size: 0.5rem !important;
}
.form-title-div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    font-family: var(--helvetica);
    color: var(--primary-grey-light);
    box-sizing: border-box;
    font-size: 25px !important;
    cursor:default;
}

.form-title {
    font-family: var(--helvetica);
    color: var(--primary-grey-light);
    box-sizing: border-box;
    font-size: 25px !important;
}

.text-bold{
    font-weight:600;
}

.text-horizontal {
    white-space: nowrap;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}
/* === Text Box === */
.text-box {
    border: 1px solid grey;
    border-radius: 2px;
    padding: 6px;
    margin: 5px;
    font-size: 18px;
}


.text-box-small {
    font-size: 14px;
}

.text-box-full {
    width: 90%;
    resize: vertical;
    overflow: auto !important;
    box-sizing: border-box;
    word-wrap: break-word;
}

.text-box[type="number"]::-webkit-inner-spin-button,
.text-box[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.text-box[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.error-field {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px red solid !important;
}

/* === Dropdown List === */
.dropdown-list {
    border: 1px solid grey;
    border-radius: 4px;
    padding: 3px;
    color:var(--primary-grey);
}

/* === Overlay === */

.overlay {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0, 0.1);
    z-index: 1100;
    position: fixed;
    top: 0;
    left: 0;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.overlay-div{
    background-color:var(--bg-grey);
    border-radius:10px;
    padding:10px;
}


.no-max-width {
    max-width: none !important;
}

.no-min-width {
    min-width: 0 !important;
}

.no-min-height {
    min-height: 0 !important;
}


.w-90 {
    width: 90%;
}

.font-consolas{
    font-family:var(--consolas);
}


@media (min-width: 768px) {
    .w-md-50 {
        width: 50%;
    }

    .w-md-30 {
        width: 30% !important;
    }

    .w-md-40 {
        width: 40% !important;
    }

    .w-md-35 {
        width: 35% !important;
    }

    
    .rounded-md-top
    {
        border-top-left-radius: 0.5rem; 
        border-top-right-radius: 0.5rem;
    }
    
}