﻿body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.asolute-logo {
    content: url('/images/sffla/sffla_logo.png') !important;
    max-height: 60px !important;
}*/

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    max-width: 400px;
    width: 100%;
    border-radius: 12px !important;
    overflow: hidden; /* important */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(230, 228, 246, 0.95);
    backdrop-filter: blur(4px);
    margin-top: 0px !important;
    padding: 0px !important;
}

    .login-card .card-body {
        padding: 40px;
        border-radius: 0 0 12px 12px !important;
        background: rgba(230, 228, 246, 0.95);
        backdrop-filter: blur(4px);
    }

    .login-card .card-title {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .login-card form {
        border-radius: 10px !important; 
        overflow: hidden; 
        padding: 0; 
    }

.card-header {
    background: #ffffff !important;
    border-radius: 10px !important;
}

.card-title {
    color: #000000; 
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
}

.form-group.row {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group{
    margin-bottom: 10px !important;
}

.dx-textbox {
    background: #ffffff !important;
    border-radius: 10px !important;
}

/* remove button box around icon */
.dx-texteditor-buttons-container .dx-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* remove spacing between input and icon */
.dx-texteditor-buttons-container {
    border-left: 1px solid #eee;
    margin-left: 10px;
    padding-left: 10px;
}

    /* make icon only */
    .dx-texteditor-buttons-container .dx-icon {
        font-size: 16px;
        color: #ff6b6b;
    }

/* make textbox look like single control */
.dx-texteditor.dx-editor-filled {
    border-radius: 10px !important;
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.12) !important;
}

.dx-checkbox.dx-state-hover .dx-checkbox-icon {
    border: 2px solid rgba(0,0,0,0.12) !important;
    box-shadow: none !important;
}

.dx-checkbox.dx-state-focused .dx-checkbox-icon {
    border: 2px solid rgba(0,0,0,0.12) !important;
    box-shadow: none !important;
}

/* Login button */
.dx-btn-gradient {
    background: linear-gradient(135deg, #000000 0%, #434343 100%) !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

    .dx-btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

/* Links */
.card-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

    .card-link:hover {
        color: #764ba2;
        text-decoration: underline;
    }

/* Checkbox */
.dx-checkbox-text {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}

/* Match checkbox tick color to the icon color */
.dx-checkbox .dx-checkbox-icon {
    color: #ff6b6b !important;
}

.dx-checkbox.dx-state-checked .dx-checkbox-icon::before {
    border-color: #ff6b6b !important; /* optional: outline of the tick box */
}

/* Icon buttons */
.dx-button-has-icon .dx-icon {
    color: #ff6b6b;
}

@media (max-width: 767px) {
    .login-card .card-body {
        padding: 30px 25px;
    }

    body {
        padding: 10px;
    }
}
