body {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account.woocommerce-login .site-header,
body.woocommerce-account.woocommerce-login .site-footer,
body.woocommerce-account.woocommerce-register .site-header,
body.woocommerce-account.woocommerce-register .site-footer {
    display: none !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Make container full viewport */
.container {
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

/* Error message styling - position it properly */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    max-width: 500px !important;
    width: 90% !important;
    margin: 0 !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.woocommerce-error {
    background-color: #fff !important;
    border: 2px solid #dc3545 !important;
    color: #721c24 !important;
}

.woocommerce-message {
    background-color: #d4edda !important;
    border: 2px solid #28a745 !important;
    color: #155724 !important;
}

/* Prevent layout shift from error messages */
.woocommerce-notices-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    z-index: 9999 !important;
}

/* Container styles */
.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Column styles */
.column {
    padding: 20px;
    box-sizing: border-box;
}

.column.left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeInBlur 1s ease-out both;
}

@keyframes fadeInBlur {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.column.right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form container styles - FIXED WIDTH */
.wc-form-container {
     width: 100%;
    max-width:500px;
    background-image: url('https://mysticprompts.com/wp-content/uploads/2025/09/login-form-bg-1.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 30px 40px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 550px;
}

.wc-form-container h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
    font-size: 28px;
    font-weight: 600;
    width: 100%;
}

/* Form styles - FIXED WIDTHS */
.woocommerce-form {
    width: 100%;
    max-width: 400px !important; /* Constrain form width */
    margin: 0 auto;
}

.woocommerce-form-row {
    margin-top: -50px;
    margin-bottom: 20px;
    width: 100%;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: Red !important;
    width: 100%;
}

.woocommerce-Input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Prevent overflow */
}

button.custom_register {
    margin-top: 30px;
    width: 100%;
    
}

.custom_login_google {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 14px 14px 50px !important;
    margin-top: 10px !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
   
    
    
    cursor: pointer;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Google icon using pseudo-element - updated to white */
.custom_login_google::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTT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IDIuNTQwOTEgOS4yMiAyLjU0MDkxWiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hover effects */
.custom_login_google:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2) !important;
}

/* Active state */
.custom_login_google:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Focus state */
.custom_login_google:focus {
    outline: none !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .custom_login_google {
        padding: 14px 14px 14px 50px !important;
        font-size: 16px !important;
    }
    
    .custom_login_google::before {
        left: 18px;
        width: 22px;
        height: 22px;
    }
}


.woocommerce-Input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.required {
    color: #e74c3c;
}

/* Remember me and submit button row */
.form-row {
    margin-bottom: 20px;
    width: 100%;
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.woocommerce-form__input-checkbox {
    width: auto !important;
    margin-right: 8px;
}

/* Submit button */
.woocommerce-button {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    margin-top: 10px !important;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.woocommerce-button:hover {
    background-color: #005a87;
}

/* Lost password link */
.lost_password {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.lost_password a {
    color: #007cba;
    text-decoration: none;
    font-size: 14px;
}

.lost_password a:hover {
    text-decoration: underline;
}

/* Image section - right side */
.image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #0a0a0a;
}

.image-container {
    position: relative;
    text-align: center;
    max-width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Prompts text styling */
.prompts-text {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
    width: 100%;
}

/* Stats styling */
.stats {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: 12px;
    width: 100%;
}

.image-section {
    display: flex; /* Default: show on desktop */
}

@media (max-width: 640px) {
    .image-section {
        display: none !important; /* Hide on tablets and mobile */
    }
}

/* If you need to show something else when image is hidden */
@media (max-width: 640px) {
    .mobile-alternative {
        display: block !important;
    }
    
    .mobile-alternative {
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        margin: 20px 0;
    }
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        min-height: auto;
    }
    
    .column.left {
        order: 1;
        min-height: 100vh;
        padding: 20px;
    }
    
    .column.right {
        display: none; /* Hide right column on mobile */
    }
    
    .wc-form-container {
        padding: 30px 20px;
        box-shadow: none;
        border-radius: 0;
        max-width: 100%;
        min-width: auto;
    }
    
    .wc-form-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .woocommerce-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .column.left {
        padding: 15px;
    }
    
    .wc-form-container {
        padding: 25px 15px;
    }
    
    .woocommerce-Input {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .woocommerce-button {
        padding: 12px;
        font-size: 16px;
    }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }
    
    .container {
        margin: 0;
        padding: 0;
    }
}

body .woocommerce form.login, body .woocommerce form.checkout_coupon, body .woocommerce form.register {
    border: none !important;
    padding: 20px;
    margin: 2em 0;
    text-align: left;
    border-radius: 5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body .woocommerce form.login, 
body .woocommerce form.checkout_coupon, 
body .woocommerce form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    background: transparent !important;
}

.woocommerce-form-login, 
.woocommerce-form-register {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.woocommerce-form-login p, 
.woocommerce-form-register p {
    width: 100%;
    max-width: 100%;
}

/* Fix for the register button */
.custom_register {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Logo and header styles */
.custom-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.custom-top-text-login h4 {
    color: #00a8e6;
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Counter section - FIXED */
.counter-section {
    position: relative; /* Changed from absolute to relative */
    text-align: center;
    color: #ffffff;
    width: 100%;
    margin-top: 30px; /* Added proper spacing */
    padding: 20px 0;
    z-index: 10; /* Ensure it stays above other elements */
}

.counter-label {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.counter-display {
    font-size: 80px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 168, 230, 0.5);
    margin: 0;
}

.counter-number {
    color: #ffffff;
}

.counter-plus {
    color: #00a8e6;
}

/* Image section - right side */
.image-section {
    flex: 1;
    display: flex;
    flex-direction: column; /* Added to stack elements vertically */
    align-items: center;
    justify-content: center;
    padding: 40px 20px; /* Increased padding */
    background-color: #0a0a0a;
    position: relative;
    min-height: 500px; /* Ensure minimum height */
}

.image-container {
    position: relative;
    text-align: center;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and counter */
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    max-height: 400px; /* Limit image height */
    object-fit: contain;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .counter-section {
        margin-top: 20px;
        padding: 15px 0;
    }
    
    .counter-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .counter-display {
        font-size: 36px;
    }
    
    .image-section {
        padding: 30px 15px;
        min-height: 400px;
    }
    
    .image-container img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .counter-section {
        margin-top: 15px;
        padding: 10px 0;
    }
    
    .counter-label {
        font-size: 13px;
    }
    
    .counter-display {
        font-size: 28px;
    }
    
    .image-section {
        padding: 20px 10px;
        min-height: 350px;
        display: none;
    }
    
    .image-container {
        margin-bottom: 20px;
    }
    
    .image-container img {
        max-height: 250px;
    }
}

/* Trustpilot Reviews Section */
.trustpilot-reviews {
    
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.trustpilot-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.trustpilot-logo {
    width: 30px;
    height: auto;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.trustpilot-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #00b67a;
    font-size: 18px;
    opacity: 0;
    animation: starPop 0.4s ease-out forwards;
}

.star:nth-child(1) { animation-delay: 0.7s; }
.star:nth-child(2) { animation-delay: 0.8s; }
.star:nth-child(3) { animation-delay: 0.9s; }
.star:nth-child(4) { animation-delay: 1.0s; }
.star:nth-child(5) { animation-delay: 1.1s; }

.rating-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.trustpilot-reviews-carousel {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 300px;
}

.review-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.review-item.active {
    opacity: 1;
    transform: translateY(0);
}

.review-text {
    font-size: 12px;
    color: #cccccc;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 5px;
}

.review-author {
    font-size: 11px;
    color: #888888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes starPop {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



/* Mobile responsiveness */
@media (max-width: 768px) {
    .trustpilot-reviews {
        margin-top: 20px;
    }
    
    .trustpilot-header {
        flex-direction: column;
        gap: 5px;
    }
    
    .trustpilot-logo {
        width: 80px;
    }
    
    .star {
        font-size: 16px;
    }
    
    .rating-text {
        font-size: 12px;
    }
    
    .trustpilot-reviews-carousel {
        height: 50px;
        max-width: 250px;
    }
    
    .review-text {
        font-size: 11px;
    }
    
    .review-author {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .trustpilot-reviews {
        margin-top: 15px;
    }
    
    .trustpilot-logo {
        width: 70px;
    }
    
    .star {
        font-size: 14px;
    }
    
    .trustpilot-reviews-carousel {
        height: 45px;
        max-width: 220px;
    }
}