﻿/* Force box-sizing for consistent widths */
* {
    box-sizing: border-box;
}
.text-danger{
    color:red;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif !important;
    background-color: #f0f2f5;
    height: 100%;
}

.login-background {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    background: #fff;
    width: 350px; /* Adjust for your preferred width */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.dx-field-item-label-location-top {
    text-align: left;
}

.dx-field-item-help-text {
    text-align: left;
}



.validation-summary {
    margin-bottom: 10px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

/********************
    * Floating Label Groups
    ********************/
.form-group {
    position: relative;
    margin: 0;
    width: 100%;
}

.form-control {
    width: 100%;
    border: 1px solid #dfe1e5;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    background: #fff;
    transition: border 0.2s;
}

    .form-control:focus {
        outline: none;
        border-color: #7386FF;
    }

.floating-label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6c757d;
    transition: 0.2s ease all;
    background: #fff;
    padding: 0 4px;
    font-size: 14px;
}

.form-control:focus + .floating-label,
.form-control:not(:placeholder-shown) + .floating-label {
    top: 0;
    transform: translateY(-50%) scale(.85);
    color: #495057;
}

/********************
    * Submit Button
    ********************/
.btn-submit {
    width: 100%;
    background: #7386FF;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

    .btn-submit:hover {
        background: #596CFF;
    }
