﻿:root {
    --pegasus-blue: #479FD7;
    --dark-blue: #66A1F4;
    --helvetica: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* === 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.5s;
    border-radius: 4px;
}

.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) !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:hover {
    background-color: red !important;
    border-color: red !important;
    color: white !important;
}


.btn-green {
    color: #2a8b2a !important;
    border: 1px solid green !important;
}

.btn-green-filled {
    color: white !important;
    background-color: #2a8b2a !important;
    border: none !important;
    outline: none !important;
}

.btn-green:hover {
    background-color: green !important;
    border-color: green !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-smaller {
    margin: 5px;
    padding: 5px 8px;
    font-size: 16px;
    font-family: var(--helvetica);
    font-weight: 400;
    min-width: 70px;
    max-width: 120px;
}
/* === Text === */
.title-1 {
    cursor: default;
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 21px;
}

.title-2 {
    cursor: default;
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 19px;
}

.title-3 {
    cursor: default;
    font-family: var(--helvetica);
    color: var(--pegasus-blue);
    font-size: 16px;
    margin: 3px;
}

.text-danger {
    cursor: default;
    color: red;
    font-family: var(--helvetica);
    font-size: 17px;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 3px;
    background-color: rgb(255, 0, 0, 0.1);
    padding: 7px;
    width: fit-content;
    margin: 12px auto 12px auto;
}

.text-good {
    cursor: default;
    color: green;
    font-family: var(--helvetica);
    list-style-type: none;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 3px;
    background-color: rgb(0, 255, 0, 0.1);
    padding: 7px;
    margin: 13px;
}

/* === Text Box === */

.text-box {
    border: 1px solid var(--pegasus-blue);
    border-radius: 2px;
    padding: 6px;
    margin: 5px;
    font-size: 18px;
}

    .text-box:focus-visible {
        outline: none;
        border: 1px solid var(--pegasus-blue);
        border-radius: 2px;
        padding: 6px;
        margin: 5px;
    }

.text-box-small {
    font-size: 14px;
}

.text-box-full {
    width: 90%; /* Default width of the text box */
    resize: vertical; /* Allow resizing vertically if needed */
    overflow: auto !important; /* Ensure scrollbars appear if content exceeds the size */
    box-sizing: border-box; /* Include padding and border in width and height calculations */
    word-wrap: break-word; /* Ensure long words break and wrap within the text area */
}

.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;
}

.input-container {
    display: flex;
    align-items: center;
}

.input-container i {
    margin-right: 10px;
    font-size: 20px;
}

/* === Wrappers === */
.wrapper {
    padding: 10px;
    width: fit-content;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.container-vertical {
    padding: 10px;
    width: fit-content;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



/* === Headers === */

.logout-header {
    height: 50px;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

/* === Profile Picture === */
.pfp {
    width: 40px;
    margin: 6px;
}

.pfp-big {
    width: 60px;
}


/* === Profile Picture === */
.dropdown-list {
    border-radius: 2px;
    border: 1px solid var(--pegasus-blue);
    width: fit-content;
    font-size: 14px;
    height: 25px;
}

    .dropdown-list:focus-visible {
        outline: none;
        border-radius: 2px;
        border: 1px solid var(--pegasus-blue);
    }

.overlay {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
}

.overlay-wrapper {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    max-width: 90%;
}
