body {
    height: 100%;
    margin: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure body takes full viewport height */
    font-family: 'Chalet', Arial, sans-serif; /* Primary typeface with fallback */
}

.container {
    max-width: 320px;
    width: 90%; /* Adjusted for better responsiveness on smaller screens */
    margin: auto;
    background-color: #fff;
    height: auto; /* Changed from 100% to auto to accommodate content */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px; /* Added padding */
    box-sizing: border-box; /* Include padding in width */
}
.message{
    margin: auto;
    background-color: #fff;
    height: auto; /* Changed from 100% to auto to accommodate content */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.message {
    margin: auto;
    background-color: #fff;
    height: auto;
    display: flex
;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border-radius: None;
    box-shadow: None;
}

.copy {
    background-color: #0ddce3;
    color: #000000;
    border-radius: 6px;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    border: none;
    outline: none;
    cursor: pointer;
}
.copy:active {
    background: #0abac0;
}

header {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.trane-logo {
    width: 50%; /* Default logo size for smaller screens */
    height: auto;
    max-width: 50%;; /* Max width to prevent excessive scaling on very large screens */
}

footer {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #6435c9;
    font-size: 0.9em; /* Smaller font for footer */
}

footer a {
    color: #6435c9; /* Ensure privacy policy link is brand color */
}

footer a:hover {
    text-decoration: underline;
}

.errorlist {
    color:red;
}

.ui.primary.button, .ui.primary.buttons .button {
    background-color: #6435c9; /* Trane Technologies Purple */
    width: 100%;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ui.grey.button, .ui.grey.buttons .button {
    width: 100%;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ui.primary.button:hover, .ui.primary.buttons .button:hover {
    background-color: #502a9e; /* Darker shade for hover effect */
}

h3 {
    /* margin-bottom: 15px; */
    color: #6435c9; /* Trane Technologies Purple */
    text-align: center;
    font-size: 1.5em; /* Responsive font size */
}

h4 {
    margin-bottom: 2px;
    color: #333; /* Trane Technologies Purple */
    text-align: center;
    font-size: 1.2em; /* Responsive font size */
}

p {
    color: #333; /* Default text color */
    text-align: center;
    line-height: 1.5;
    font-size: 1em; /* Responsive font size */
}

ul {
    padding: 0;
    text-align: left;
}

li {
    color: #333;
    margin-bottom: 1px;
    list-style-type: disc;
}
/* Form specific styles */
.ui.form .field > label {
    color: #333;
    font-weight: bold;
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

.ui.form input[type="text"],
.ui.form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #7c60b8;
    border-radius: 4px;
    box-sizing: border-box;
}
.ui.form input[type="text"]:focus,
.ui.form input[type="password"]:focus {
    border: 1px solid #6841bc;
}
.text-center {
    text-align: center;
}
/* .loader-div {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
} */
 .spinner {
    content: "Please Wait";
    margin-top: 20px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    align-content: space-evenly;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.loader-div {
    display: none;
    position: fixed;
    margin: 0px;
    padding: 0px;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 30001;
    opacity: 0.8;
    align-content: center;
}

/* .spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
    color: #6435c9; 
} 

@-webkit-keyframes spinner-border {
    to { -webkit-transform: rotate(360deg); }
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
} */

/* Media Queries for Responsiveness */

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        width: 90%;
        max-width: 400px;
        padding: 30px;
    }

    .trane-logo {
        width: 60%;
        max-width: 180px;
    }

    h3 {
        font-size: 1.8em;
    }

    h4 {
        font-size: 1.5em;
    }

    p {
        font-size: 1.1em;
        text-align: center;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        width: 80%;
        max-width: 600px;
        padding: 40px;
    }

    .trane-logo {
        width: 60%;
        max-width: 150px;
    }

    h3 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    p {
        font-size: 1.2em;
        text-align: center;
    }

    .ui.primary.button, .ui.primary.buttons .button {
        width: 100%; /* Buttons can be smaller on larger screens */
        padding: 15px 30px;
    }

    .ui.grey.button, .ui.grey.buttons .button {
        width: 100%; /* Buttons can be smaller on larger screens */
        padding: 15px 30px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        width: 60%;
        max-width: 800px;
        padding: 50px;
    }

    .trane-logo {
        width: 70%;
        max-width: 120px; /* Optimal logo size for desktops */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        width: 60%;
        max-width: 700px;
        padding: 50px;
    }
    .trane-logo {
        width: 70%;
        max-width: 120px; /* Optimal logo size for desktops */
    }
}

/* Orientation specific adjustments if needed, though current approach is generally robust */
@media only screen and (min-width: 768px) and (orientation: landscape) {
    /* Adjustments for landscape tablets/desktops */
}

@media only screen and (min-width: 768px) and (orientation: portrait) {
    /* Adjustments for portrait tablets */
}