﻿
/* Project TextBox & Dropdowns*/

.bartextbox {
    height: 35px;
    min-height: 35px;
    height: 30px;
    min-width: 250px;
    width: 250px;
    border-radius: 20px;
    border: #4d5965 1px solid;
    padding-left: 10px;
    font-size: 16px;
    font-family: inherit;
}

    .bartextbox::placeholder {
        color: #6d809e;
        opacity: 1;
    }

.bartextboxSmall {
    height: 35px;
    min-height: 35px;
    height: 30px;
    min-width: 150px;
    width: 150px;
    border-radius: 20px;
    border: #4d5965 1px solid;
    padding-left: 10px;
    font-size: 16px;
}

    .bartextboxSmall::placeholder {
        color: #6d809e;
        opacity: 1;
    }




.bardropdown, .bardropdown_status {
    height: 38px;
    min-height: 38px;
    min-width: 265px;
    width: 265px;
    border-radius: 20px;
    border: #4d5965 1px solid;
    padding-left: 10px;
    font-size: 16px;
    font-family: inherit;
}

    .bardropdown option:first-child {
        color: #6d809e;
        opacity: 1;
    }

    .bardropdown option:not(:first-child) {
        color: #000; /* black */
    }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .bartextbox {
        width: 92%;
        min-width: 100px;
    }

    .bardropdown, bardropdown_status {
        width: 95%;
    }
}

/* Project TextBox & Dropdowns*/





/* ---------- Popup confirmation window style ----------  */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.confirmation-popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 9999999;
    width: 100%;
    text-align: center;
}

.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    background-color: rgba(225, 225, 225, 1);
    border-radius: 15px;
    max-width: 400px;
    width: fit-content;
    padding: 0;
    color: black;
}

.alert_top_colour {
    width: 100%;
    height: 200px;
    background-color: #07a6e6;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

    .alert_top_colour.pink {
        background-color: #ec008c;
    }


    .alert_top_colour img {
        height: 100px;
        width: 100px;
    }

.confirmation-inner-div {
    padding: 40px 40px 40px 40px;
}

.strong-div {
    margin-bottom: 25px;
}

.strong-label {
    font-size: 30px;
    color: #3f474a;
}

.under-strong-label {
    color: #4b6569;
}

.popup-actions {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    justify-content: center;
}


.btn {
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100px;
}

    .btn.primary {
        background-color: #07a6e6;
        color: white;
        border: none;
    }

        .btn.primary.pink {
            background-color: #ec008c;
        }

    .btn.ghost {
        background-color: #757f96;
        color: white;
        border: none;
    }

    .btn:hover {
        transform: scale(1.05);
    }

    .btn:active {
        transform: scale(1);
    }










.float-input {
    position: relative;
    width: 275px;
    font-family: inherit;
}

.float-input.smalltext {
    width: 150px;
    font-family: inherit;
}


    /* Textbox */
    .float-input input, .float-input select {
        width: 100%;
        height: 45px;
        padding: 18px 10px 3px 18px; /* top right bottom left */
        font-size: 16px;
        border: 2px solid #777;
        border-radius: 99px;
        outline: none;
        box-sizing: border-box;
        color: #575861;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }


    /* Label starts centered inside */
    .float-input label {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        color: #606166;
        pointer-events: none;
        background: none;
        transition: 0.2s ease;
        padding: 0 4px;
    }

    /* FLOAT STATE — input */
    .float-input input:focus + label,
    .float-input input:not(:placeholder-shown) + label,
    .float-input select:focus + label,
    .float-input select.has-value + label {
        top: 3px;
        left: 15px;
        transform: none;
        font-size: 12px;
        color: #606166;
        font-weight:700;
    }








/* Initial button styles */
.pulsating-button {
    padding: 10px 20px;
    font-size: 16px;
    border: 6px solid rgba(0,0,0,.4); /* Border applied here */
    background-color: #2196f3; /* Blue color */
    color: white;
    border-radius: 9999px; /* Circular shape */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    position: fixed;
    left: calc(50% - 23px); /* Shift the button left by 20px from the center */
    bottom: 12px;
    z-index: calc(var(--z-tray) + 1);
    /* Ensure button size is properly calculated */
    box-sizing: border-box;
    transition: left 1s ease, top 1s ease;
}

/* Pulsating animation */
@keyframes pulsate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1); /* Grow slightly */
    }

    100% {
        transform: scale(1);
    }
}

/* Apply pulsating animation to the button */
.pulsating-button.pulsing {
    animation: pulsate 1s ease-in-out infinite;
}

/* Style when button is clicked (stop pulsating) */
.pulsating-button.clicked {
    animation: none;
    transform: scale(1); /* Stop scaling after click */
    background-color: #1976d2; /* Darker blue after click */
}

