/**
 * Alcyone2026 Theme - Contact Page Styles
 * Modern dark design with amber accents
 */

/* Contact Page Body - Match blog/other pages with zinc-900 gradient */
.contact-page-alcyone {
    background: linear-gradient(to bottom, #18181b, #09090b);
    min-height: 100vh;
}

/* Make columns container full width for contact page */
.contact-page-alcyone .columns {
    display: block;
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-page-alcyone .column.main {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
}

/* Hero section full width */
.contact-page-alcyone section:first-of-type {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.contact-page-alcyone .page-title-wrapper {
    display: none;
}

/* Input Fields Proper Sizing - Matching newdesign: w-full px-4 py-3 */
.contact-page-alcyone input[type="text"],
.contact-page-alcyone input[type="email"],
.contact-page-alcyone input[type="tel"],
.contact-page-alcyone textarea,
.contact-page-alcyone select {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important; /* py-3 px-4 */
    height: auto !important;
    min-height: 48px !important;
    background-color: rgba(39, 39, 42, 0.5) !important;
    border: 1px solid #3f3f46 !important;
    border-radius: 12px !important; /* rounded-xl */
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.contact-page-alcyone input[type="text"]:focus,
.contact-page-alcyone input[type="email"]:focus,
.contact-page-alcyone input[type="tel"]:focus,
.contact-page-alcyone textarea:focus,
.contact-page-alcyone select:focus {
    outline: none !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 1px #f59e0b !important;
}

.contact-page-alcyone input::placeholder,
.contact-page-alcyone textarea::placeholder {
    color: #71717a !important;
}

.contact-page-alcyone textarea {
    resize: none !important;
    min-height: 140px !important;
    height: auto !important;
}

/* Form Validation Messages */
.contact-page-alcyone .mage-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-page-alcyone input.mage-error,
.contact-page-alcyone textarea.mage-error,
.contact-page-alcyone select.mage-error {
    border-color: #ef4444 !important;
}

/* Select Dropdown Arrow - Single custom arrow */
.contact-page-alcyone select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.25em 1.25em !important;
    padding-right: 2.5rem !important;
}

/* Remove default Magento styles */
.contact-page-alcyone .form.contact {
    max-width: none;
    width: 100%;
}

.contact-page-alcyone .form.contact .fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.contact-page-alcyone .form.contact .legend {
    display: none;
}

.contact-page-alcyone .form.contact .field.note {
    display: none;
}

.contact-page-alcyone .form.contact .actions-toolbar {
    margin: 0;
    padding: 0;
}

.contact-page-alcyone .form.contact .actions-toolbar .primary {
    float: none;
    width: 100%;
}

/* Loading state */
.contact-page-alcyone button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Messages */
.contact-page-alcyone .message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-page-alcyone .message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-page-alcyone section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-page-alcyone .text-4xl {
        font-size: 2rem;
    }

    .contact-page-alcyone .md\:text-6xl {
        font-size: 2.5rem;
    }
}

/* Hide page messages container default styling */
.contact-page-alcyone .page.messages {
    max-width: 1560px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}
