/* =====================================================
   Login / Role Panel Styles - Cyprus ERP (ZK 10)
   FIX: border-radius removed (set to 0) on panel and
   container so the rectangular background image covers
   the window chrome edge-to-edge -> no white corners.
   ===================================================== */

/* Login Panel Styles */
.login-panel {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    border-radius: 0;              /* FIX: was 12px - caused white corner cut-outs */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
    padding: 0;
    overflow: hidden;
    /* margin-left: 10%; */
}

.login-container {
    background: #ffffff;
    border-radius: 0;              /* FIX: was 12px - image is rectangular, keep it square */
    padding: 40px 35px 30px;
    /* margin-left: 50%; */
    /* padding-right: 30%; */
    /* left: 50%; */
}

.login-logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.login-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.login-brand {
    display: block;
    font-size: 15px !important;
    font-weight: 750;
    color: #052151;
    letter-spacing: 1px;
}

.login-sub-brand {
    display: block;
    font-size: 12px !important;
    color: #052151;
    margin-top: 5px;
    font-weight: 500;
}

.login-separator {
    margin: 10px 0 20px;
    border-top: 1px solid #e2e8f0;
}

.login-field-row {
    margin-bottom: 18px;
}

.login-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
}

.login-field-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: #ffffff;
}

.login-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 25px;
}

.login-remember-checkbox {
    font-size: 13px;
    color: #4a5568;
}

.login-remember-checkbox .z-checkbox-caption {
    font-size: 13px;
    color: #4a5568;
}

.login-forgot-container {
    text-align: right;
}

.login-forgot-password {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-forgot-password:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.login-button-row {
    margin-top: 5px;
    margin-bottom: 25px;
}

.login-signin-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100% !important;
}

.login-signin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.login-signin-button:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding-top: 0px;
}

.login-security-text {
    display: block;
    font-size: 12px;
    color: #718096;
    margin-bottom: 5px;
}

.login-copyright {
    display: block;
    font-size: 12px !important;
    color: #052151;
}

/* Role Panel Styles */
.role-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;              /* FIX: was 12px */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
}

.role-container {
    background: #ffffff;
    border-radius: 0;              /* FIX: was 12px */
    padding: 35px 35px 30px;
}

.role-logo-section {
    text-align: center;
    margin-bottom: 20px;
}

.role-logo {
    max-width: 70px;
    height: auto;
    margin-bottom: 10px;
}

.role-title {
    display: block;
    font-size: 14px !important;
    font-weight: 750;
    color: #052151;
}

.role-sub-title {
    display: block;
    font-size: 12px !important;
    color: #052151;
    margin-top: 3px;
    font-weight: 500;
}

.role-separator {
    margin: 10px 0 20px;
    border-top: 1px solid #e2e8f0;
}

.role-field-row {
    margin-bottom: 16px;
}

.role-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 5px;
}

.role-field-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: #ffffff;
}

.role-button-row {
    margin-top: 20px !important;
}

.role-signin-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-signin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.role-cancel-button {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-cancel-button:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

/* =====================================================
   FIX: Strip the default ZK window chrome behind the
   login panel completely - transparent, no border,
   no shadow, square corners - so no white edges can
   appear at the corners.
   ===================================================== */
.login-panel.z-window,
.login-panel .z-window-content,
.login-panel .z-window-cnt,
.login-panel .z-window-body {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}


.role-panel .z-window-content,
.role-panel .z-window-cnt,
.role-panel .z-window-body {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.z-window-content {
	background: white;
}

.z-combobox-popup
{
    /* width : 30% !important; */
}