/* Modern styling for One-Time Access Lock login page and admin popup */
.otal-login-container {
    max-width: 400px;
    margin: 5vh auto;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
}

.otal-login-container h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.otal-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.otal-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.otal-form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.otal-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.otal-error {
    color: #dc2626;
    background: #fee2e2;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Login page message */
.otal-login-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

/* Responsive design */
@media (max-width: 480px) {
    .otal-login-container {
        margin: 2rem;
        padding: 1.5rem;
    }

    .otal-login-container h2 {
        font-size: 1.5rem;
    }
}

/* hCaptcha styling */
.h-captcha {
    margin-bottom: 1.5rem;
}

/* Popup styling */
.otal-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.otal-popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.otal-popup-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Checkbox styling for tables */
.otal-checkbox {
    margin: 0;
    vertical-align: middle;
}

#otal-select-all-passwords,
#otal-select-all-sessions {
    margin: 0;
}

/* Button group styling */
.otal-button-group {
    margin-bottom: 1rem;
}

.otal-button-group .button {
    margin-right: 0.5rem;
}