/* Contact page styles - styled like Create Account modal */

:root {
    --mc-green: #67c23a;
    --mc-green-dark: #4aa92a;
    --mc-green-light: #7dd855;
    --mc-brown: #8b4513;
    --mc-stone: #7f7f7f;
    --mc-dirt: #8b4513;
    --mc-grass: #7bb247;
    --mc-wood: #deb887;
    --mc-border: #4a4a4a;
    --mc-border-light: #6a6a6a;
    --mc-shadow: rgba(0,0,0,0.3);
    --mc-highlight: #ffffff;
    --navbar-height: 80px;
}

/* Reset and base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { 
    overflow-x: hidden !important; 
    width: 100%; 
    max-width: 100vw; 
    box-sizing: border-box;
    /* Hide scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide scrollbar for IE and Edge */
    -ms-overflow-style: none;
}

/* Hide scrollbar for webkit browsers (Chrome, Safari) */
html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none;
}

body.theme-mc-retro {
    font-family: 'Tahoma', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    background: #5a7c42 !important;
    padding-top: 80px !important;
    color: #2c3e50 !important;
    image-rendering: pixelated !important;
}

body.theme-mc-retro::before {
    content: '';
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 8px), repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 8px);
    z-index: -1; pointer-events: none;
}

/* Contact container styling - now works within main container */
.contact-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-family: 'Tahoma', sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #2c3e50 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.contact-header p {
    font-family: 'Tahoma', sans-serif !important;
    font-size: 16px !important;
    color: #000000 !important;
    line-height: 1.5 !important;
}

/* Form styling to match Create Account modal */
.contact-form {
    margin-top: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    color: black !important;
    font-family: 'Tahoma', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100% !important;
    padding: 12px !important;
    border: 3px solid var(--mc-border) !important;
    border-radius: 0 !important;
    font-family: 'Tahoma', sans-serif !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: inset 2px 2px 0 var(--mc-shadow), inset -1px -1px 0 var(--mc-highlight) !important;
    transition: all 0.2s ease !important;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--mc-green) !important;
    box-shadow: inset 2px 2px 0 var(--mc-shadow), inset -1px -1px 0 var(--mc-highlight), 0 0 6px rgba(103, 194, 58, 0.5) !important;
    outline: none !important;
}

.contact-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Button styling to match footer buttons */
.contact-form .submit-btn {
    background: #e74c3c !important;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 8px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 2px, transparent 2px, transparent 8px) !important;
    color: #fff !important;
    border: 3px solid #c0392b !important;
    padding: 8px 12px !important;
    font-family: 'Tahoma', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0px !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    box-shadow: 
        inset 1px 1px 0 var(--mc-highlight, #ffffff),
        inset -1px -1px 0 var(--mc-shadow, rgba(0,0,0,0.3)),
        2px 2px 0 rgba(0,0,0,0.3) !important;
    transition: all 0.08s ease !important;
    width: auto !important;
    margin: 20px auto 0 !important;
    display: block !important;
}

.contact-form .submit-btn:hover {
    transform: translateY(1px) translateX(1px) !important;
    box-shadow: 1px 1px 0 rgba(0,0,0,0.3) !important;
}

.contact-form .submit-btn:active {
    transform: translateY(1px) !important;
    box-shadow: 1px 1px 0 var(--mc-shadow), inset 1px 1px 0 var(--mc-highlight) !important;
}

/* Success/error messages */
.message {
    padding: 15px !important;
    margin-bottom: 20px !important;
    border: 3px solid !important;
    border-radius: 0 !important;
    font-family: 'Tahoma', sans-serif !important;
    font-weight: 600 !important;
}

.message.success {
    background: rgba(103, 194, 58, 0.1) !important;
    border-color: var(--mc-green) !important;
    color: var(--mc-green-dark) !important;
}

.message.error {
    background: rgba(231, 76, 60, 0.1) !important;
    border-color: #e74c3c !important;
    color: #c0392b !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .theme-mc-retro .container {
        margin: 20px 10px !important;
        padding: 20px !important;
    }
    
    .contact-header h1 {
        font-size: 24px !important;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea,
    .contact-form select {
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    .contact-form .submit-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}
