body{
    background-image: url("../img/login-bg-new.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    font-family: "Raleway", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Logo Section */
.logo-header {
    background: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.logo-container {
    display: inline-block;
}

.ascot-logo {
    font-size: 48px;
    font-weight: bold;
    color: #999;
    margin-bottom: 5px;
    letter-spacing: -2px;
}

.ascot-logo .red-s {
    color: #e74c3c;
}

.ascot-science {
    font-size: 14px;
    color: #999;
    margin-top: -10px;
    letter-spacing: 1px;
}

.platform-title {
    font-family: "Mina", sans-serif;
    font-size: 28px;
    color: #575b60;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Login Container */
.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-wrapper {
    text-align: center;
    min-width: 600px;
    max-width: 600px;
    width: 100%;
}

.login-title {
    font-family: "Raleway", sans-serif;
    font-size: 23px;
    font-weight: 300;
    color: #282828;
    margin-bottom: 10px;
    padding-bottom: 10px;
    text-align: center;
}

/* Form Styles */
.hpanel {
    background: transparent;
    border: none;
    box-shadow: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-floating {
    position: relative;
}

.form-control {
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 15px 20px;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    color: #282828;
    width: 100%;
    outline: none;
}

.form-control:focus {
    border-color: #204c6a;
    box-shadow: none;
}

.form-control::placeholder {
    color: #333333;
    opacity: 1;
}

.form-floating > label {
    display: none;
}

/* Input Group for Password */
.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 50px;
}

.trailing {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 10;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: #575b60;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #464a4f;
    color: #fff;
}

.btn-green-800 {
    background-color: #204c6a;
    color: #fff;
}

.btn-green-800:hover {
    background-color: #1a3d54;
    color: #fff;
}

.d-grid .btn {
    width: 100%;
}

/* Footer */
footer {
    background: transparent;
    color: #000;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-pleksus-logo {
    height: 30px;
    margin-bottom: 10px;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    color: #282828;
}

.modal-body {
    padding: 30px;
}

.modal-body label {
    font-family: "Raleway", sans-serif;
    color: #282828;
    margin-bottom: 10px;
    display: block;
}

.modal-body .form-control {
    border-radius: 8px;
    margin-bottom: 20px;
}

.float-end {
    float: right;
}

/* Responsive */
@media (max-width: 768px) {
    .ascot-logo {
        font-size: 36px;
    }

    .platform-title {
        font-size: 18px;
    }

    .login-container {
        padding: 20px 15px;
    }

    .row .col-6 {
        margin-bottom: 10px;
    }

    .login-wrapper {
        text-align: center;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* Remove Bootstrap form-floating default styles */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    display: none;
}

/* Validation styles */
.error {
    border-color: #dc3545 !important;
}

.formError {
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    color: #dc3545;
}
.ascot-logo img{
    width: 250px;
}