/**
 * MM Auth Verification - Frontend Styles
 *
 * @package MM_Auth_Verification
 */

/* WooCommerce My Account Integration */
.mm-auth-woocommerce-login-wrapper {
    max-width: 100%;
}

.mm-auth-woocommerce-login-wrapper .mm-auth-login-container {
    max-width: 600px;
    margin: 0 auto;
    border: none;
    box-shadow: none;
}

.mm-auth-login-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px;
    background: var(--dark);
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
}

.mm-auth-step h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.mm-auth-step p {
    text-align: center;
    margin-bottom: 20px;
    color: var(--light);
}

/* Method Selection */
.mm-auth-method-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 20px;
}

.mm-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #333;
    /*background: #fff;*/
    /*color: #333;*/
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mm-auth-btn:hover {
    background: #333;
    color: #fff;
}

.mm-auth-btn-primary {
    background: #333;
    color: #fff;
    width: 100%;
}

.mm-auth-btn-primary:hover {
    background: #000;
    border-color: #000;
}

/* Form Elements */
.mm-auth-form-group {
    margin-bottom: 20px;
}

.mm-auth-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.mm-auth-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: var(--main) !important;
}

.mm-auth-input:focus {
    outline: none;
    border-color: #333;
}

.mm-auth-format-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: left;
}

/* Code Inputs */
.mm-auth-code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.mm-auth-code-digit {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px !important;
    font-weight: bold;
    border: 2px solid #000 !important;
    border-radius: 6px !important;
    transition: border-color 0.3s ease;
    background: var(--dark) !important;
}

.mm-auth-code-digit:focus {
    outline: none;
    border-color: #333;
}

/* Messages */
.mm-auth-messages {
    margin: 15px 0;
}

.mm-auth-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

.mm-auth-error {
    background: #471a1a !important;
    border: 1px solid #fcc;
    color: #c00 !important;
}

.mm-auth-success {
    background: #104d10;
    border: 1px solid #cfc;
    color: #060;
}

/* Back Button */
.mm-auth-back-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.mm-auth-back-btn:hover {
    color: #fff;
}

/* Resend */
.mm-auth-resend {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.mm-auth-resend-btn {
    background: none;
    border: none;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.mm-auth-resend-btn:hover {
    color: #000;
}

.mm-auth-countdown {
    font-weight: bold;
    color: #333;
}

/* Register Link */
.mm-auth-register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.mm-auth-register-link a {
    color: var(--light);
    text-decoration: underline;
    font-weight: 500;
}

.mm-auth-register-link a:hover {
    color: #fff;
}

/* Loading Spinner */
.mm-auth-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 100;
}

.mm-auth-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: mm-auth-spin 1s linear infinite;
}

@keyframes mm-auth-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Guest Notice */
.mm-auth-guest-notice {
    background: #f0f0f0;
    border-left: 3px solid #333;
    padding: 15px;
    margin: 15px 0;
}

.mm-auth-guest-notice p {
    margin: 0;
    text-align: left;
}

/* Responsive */
@media (max-width: 600px) {
    .mm-auth-login-container {
        padding: 20px;
        margin: 0 15px;
    }

    .mm-auth-code-digit {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }

    .mm-auth-code-inputs {
        gap: 6px;
    }
}

/* Sent To Display */
.mm-auth-sent-to {
    background: var(--main) !important;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.mm-auth-identifier-display {
    color: #333;
    word-break: break-all;
}

.woocommerce-account .tf-my-account{
    min-height: 50vh;
}
.woocommerce-account{
    background: url(https://dev.gseo.dev/magicmushroomdispensary.cc/wp-content/uploads/2025/02/DALL·E-2025-02-07-13.35.33-A-futuristic-cyberpunk-style-illustration-of-Vancouver-Canada-featuring-a-vibrant-neon-sunset-with-deep-purples-oranges-and-pinks.-The-city-skyli.webp) no-repeat center center;
    background-size: cover;
}
.woocommerce-account header + div{
    padding-top: 150px;
}
