
/* Hide result container by default */
#resultContainer, #refreshButton, #errorContainer, #redirectPADANsButton, #updateBankButton {
    display: none;
}

#successMessage, #successInfo, #homeButton{
    display: block;
}

.input-bank #resultContainer,
.input-bank #inputBankName,
.input-bank #inputBankAccount,
.input-bank #userReminder,
.input-bank #sendButton {
    display: block;
}
.input-bank #successMessage,
.input-bank #successInfo,
.input-bank #homeButton {
    display: none;
}

.styleBody {
    background-color: #EEE9D6;
    font-family: 'Roboto', sans-serif; /* Apply Roboto to the entire body */
    overflow-y: auto;
}

.contentOverall {
    background-color: white;
    text-align: center;
    /* Initial max-width (this will be adjusted by JavaScript) */
    max-width: 30vw;
    min-height: 80vh;
    margin: 20px auto;
    border-color: #CDBCAB;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    padding: 20px 3vw;
    box-sizing: border-box; /* make the box adjust the content size instead of expanding*/
}

.contentOverall > div:first-child { /* Targets the first div (the container of content) */
    min-height: 71vh; /* Changed from height to min-height */
    height: fit-content;
    padding: 0 3vw;
}

.input-styling{
    height: 38px;
    width: 100%;
    border-radius: 5px;
    border-width: 1px;
    border-style: ridge;
    border-color: #D6D6D6;
    font-size: 17px;
    /* Use box-sizing: border-box to include padding in the element's total width and height */
    box-sizing: border-box;
    padding-left: 10px; /* Add left padding to create space */
}

.input-styling:focus {
    border-color: lightblue; /* Light blue border border-1*/
    border-width: 1.5px;   /* Slightly thicker, but not too much */
    outline: none;          /* Remove the default focus outline */
}

input[readonly] {
    background-color: #eb0a0a;
}
/* Hide number input arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.text-content{
    font-size: 14px;
    text-align: left;
    margin: 0 auto;
    padding-bottom: 15px;
}
.text-success{
    font-size: 18px;
    text-align: left;
    margin: 0 auto;
}
.logo-format{
    width: 100px;
    /* max-height: 110px; */
    margin: auto;
    padding: 0 2vw 2vh 2vw;
}
.img-format{
    width: 80px;
    max-height: auto;
    margin: auto;
    padding: 0 2vw 2vh 2vw;
}
.btm-img-format{
    max-width: 60px;
    max-height: 60px;
    margin: auto;
    padding: 10px 0 0 0;
}
.content-title{
    font-size: 1.8rem;
    color: #A9927C;
    font-weight: 550;
}
.content-subtitle{
    font-size: 1.3rem;
    font-weight: 450;
    color: #2B2B2B;
}

.button {
    background-color: #79DAE1;;
    color: white;
    border: 1px solid #79DAE1;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 0;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 100%;
}

.button:hover {
    background-color: #72c7cd;
    color: white;
    border: 1px solid #72c7cd;
    box-shadow: 0px 3px rgba(0, 0, 0, 0.068);
}

.button:disabled {
    background-color: #cccccc; /* Grey out the button */
    color: #666666;
    border: 1px solid #cccccc;
    cursor: not-allowed; /* Change the cursor to indicate it's disabled */
    box-shadow: none; /* Remove the shadow effect */
}

.button:disabled:hover {
    background-color: #cccccc;
    color: #666666;
    border: 1px solid #cccccc;
}

.button-secondary {
    background-color: #ffffff;
    color: #0f0f0f;
    border: 1px solid #79DAE1;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 0;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 100%;
}

.button-secondary:hover {
    background-color: #72c7cd;
    color: 0f0f0f;
    border: 1px solid #72c7cd;
    box-shadow: 0px 3px rgba(0, 0, 0, 0.068);
}

.button-secondary:disabled {
    background-color: #cccccc; /* Grey out the button-secondary */
    color: #666666;
    border: 1px solid #cccccc;
    cursor: not-allowed; /* Change the cursor to indicate it's disabled */
    box-shadow: none; /* Remove the shadow effect */
}

.button-secondary:disabled:hover {
    background-color: #cccccc;
    color: #666666;
    border: 1px solid #cccccc;
}

/* Popup Styles */
#popupContainer {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

#popupContent {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    z-index: 9999 !important;
}

.popup-button {
    background-color: #79DAE1; /* or any other button color from your existing styles */
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: block; /* Important: Make it a block-level element */
    margin: 20px auto 0; /* Center horizontally with auto margins */
    font-size: 16px;
    cursor: pointer;
}

.popup-button:hover {
    background-color: #72c7cd;  /* Darker shade on hover */
}

@media (max-width: 1100px) {
    .contentOverall {
        max-width: 84vw;
    }
}

@media (min-width: 1101px) and (max-width: 1373px) {
    .contentOverall {
        max-width: 70vw;
    }
}

@media (min-width: 1374px) and (max-width: 1646px) {
    .contentOverall {
        max-width: 50vw;
    }
}

@media (min-width: 1647px) {
    .contentOverall {
        max-width: 40vw;
    }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 13px;
    color: #555;
}

.progress-labels span {
    flex: 1;
    text-align: center;
}


.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    transition: width 0.5s ease, background-color 0.4s ease;
}


/* Optional for status row only */
.progress-labels + .progress-container + .progress-labels {
    font-weight: normal;
    color: #555;
}

.accordion-button:focus {
  outline: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: none !important;
}

