/* Login Modal Style */
.vlm-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.vlm-modal.show {
    display: flex;
}

.vlm-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: vlmSlideIn 0.3s ease-out;
}

@keyframes vlmSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.vlm-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.vlm-modal-close:hover {
    color: #2d3748;
}

.vlm-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.vlm-logo {
    width: 60px;
    height: 60px;
    background: #f0f5ff;
    color: #0E356D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.vlm-modal-header h2 {
    font-size: 22px;
    margin: 0 0 10px;
    color: #1a202c;
}

.vlm-modal-header p {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}

.vlm-field {
    margin-bottom: 20px;
}

.vlm-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.vlm-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.vlm-field input:focus {
    border-color: #0E356D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 53, 109, 0.1);
}

.vlm-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.vlm-remember {
    color: #718096;
    cursor: pointer;
}

.vlm-forgot {
    color: #0E356D;
    text-decoration: none;
    font-weight: 500;
}

.vlm-submit {
    width: 100%;
    padding: 14px;
    background: #0E356D;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vlm-submit:hover {
    background: #09254a;
}

.vlm-submit:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.vlm-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: vlm-spin 0.8s linear infinite;
}

@keyframes vlm-spin {
    to { transform: rotate(360deg); }
}

.vlm-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.vlm-message.error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.vlm-message.success {
    background: #f0fff4;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.vlm-modal-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
    font-size: 14px;
}

.vlm-modal-footer a {
    color: #0E356D;
    text-decoration: none;
    font-weight: 600;
}
