/**
 * LUX Product Authenticator - Frontend Styles
 */

.lux-authenticator {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 20px;
}

.lux-auth-box {
    background: #ffffff;
    font-family: "Poppins", Sans-serif;
    border-radius: 8px;
    padding: 30px;
}

.lux-auth-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    text-align: center;
}

.lux-auth-description {
    margin: 0 0 20px 0;
    line-height: 1.6;
        text-align: center;
    font-size: 13px;
    color: #666666;
    text-align: center;
}

.lux-auth-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lux-code-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    border: 2px solid #cccccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.lux-code-input:focus {
    outline: none;
    border-color: #0066cc00;
}

.lux-code-input::placeholder {
    text-transform: none;
    font-family: inherit;
}

.lux-verify-btn {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: "Poppins", Sans-serif !important;
    color: #3d3d3d !important;
    background: linear-gradient(90deg, #9e6126, #e9c67d, #ffdeb3, #e9c67d) !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.lux-verify-btn:hover {
    background: linear-gradient(90deg, #9e6126, #e9c67d, #ffdeb3, #e9c67d);
        color: #3d3d3d;
}

.lux-verify-btn:active {
    transform: scale(0.98);
}

.lux-verify-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.lux-auth-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}

.lux-auth-message.show {
    display: block;
}

.lux-auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lux-auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lux-auth-content.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .lux-authenticator {
        margin: 20px auto;
    }

    .lux-auth-box {
        padding: 20px;
    }

    .lux-auth-title {
        font-size: 20px;
    }

    .lux-code-input,
    .lux-verify-btn {
        font-size: 14px;
        padding: 12px 14px;
    }
}
