/*
Theme Name: Perfect Attendance
Theme URI: https://perfectattendance.com
Author: Perfect Attendance
Author URI: https://perfectattendance.com
Description: A gothic dark luxury jewelry e-commerce theme with full Theme Customizer support.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perfect-attendance
Tags: e-commerce, woocommerce, dark, luxury, jewelry, custom-logo, custom-colors, customizer

Perfect Attendance - Handcrafted jewelry for the modern outlier.
*/

/* Main Page Newsletter Section */
.pa-newsletter-section-wrapper {
    width: 100%;
    margin-bottom: 8rem;
}

.pa-newsletter-section {
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: space-between;
    gap: 3rem;
}

@media (min-width: 768px) {
    .pa-newsletter-section {
        flex-direction: row;
    }
}

.pa-newsletter-section h3 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .pa-newsletter-section h3 {
        font-size: 4.5rem;
        /* ~7xl */
    }
}

.pa-newsletter-section p.leading-relaxed {
    font-size: 0.75rem;
    /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.4em;
    opacity: 0.4;
    line-height: 1.625;
}

.pa-newsletter-section form.group {
    position: relative;
    min-width: 100%;
}

@media (min-width: 768px) {
    .pa-newsletter-section form.group {
        min-width: 300px;
    }
}

.pa-newsletter-section input.input-newsletter {
    width: 100%;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* Increased visibility */
    padding: 1rem 0.5rem !important;
    font-size: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    color: #fff !important;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
    cursor: text !important;
}

.pa-newsletter-section input.input-newsletter:focus {
    border-bottom-color: #fff !important;
}

.pa-newsletter-section input.input-newsletter::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.pa-newsletter-section button.btn-newsletter {
    position: absolute;
    right: 0;
    bottom: 1rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    background: none;
    border: none;
    color: #fff;
    opacity: 0.6;
    /* Increased initial opacity */
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
}

.pa-newsletter-section button.btn-newsletter:hover {
    opacity: 1;
}

.pa-newsletter-section p.privacy-note,
.pa-newsletter-section .pa-newsletter-message {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.3;
    margin-top: 0.5rem;
    transition: opacity 0.3s ease;
}

/* Contact Page Hero */
.pa-hero-contact .pa-hero-bg img {
    opacity: 0.6;
}

.pa-hero-contact .pa-hero-title {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Fluent Form Custom Construction */
.pa-fluent-form-wrapper .fluentform {
    font-family: 'Inter', sans-serif;
    color: #fff;
    max-width: 100%;
}

/* Labels */
.pa-fluent-form-wrapper .ff-el-input--label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.pa-fluent-form-wrapper .ff-el-is-error .ff-el-input--label {
    color: #ff4444 !important;
}

/* Inputs & Textareas */
.pa-fluent-form-wrapper .ff-el-form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 !important;
    color: #fff !important;
    padding: 12px 0 !important;
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.pa-fluent-form-wrapper .ff-el-form-control:focus {
    border-bottom-color: #fff !important;
    outline: none !important;
}

.pa-fluent-form-wrapper .ff-el-form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
}

/* Submit Button */
.pa-fluent-form-wrapper .ff-btn-submit {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 16px 40px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    width: auto !important;
    margin-top: 24px !important;
}

.pa-fluent-form-wrapper .ff-btn-submit:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

/* Progress / Steps (if any) */
.pa-fluent-form-wrapper .ff-step-title {
    color: #fff !important;
}

/* Checkboxes & Radios */
.pa-fluent-form-wrapper .ff-el-form-check-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 12px !important;
}

/* Error Messages */
.pa-fluent-form-wrapper .ff-el-is-error .error-text {
    color: #ff4444 !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    margin-top: 4px !important;
    letter-spacing: 0.1em !important;
}

/* Success Message */
.pa-fluent-form-wrapper .ff-message-success {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 20px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Autofill Background Fix */
.pa-fluent-form-wrapper input:-webkit-autofill,
.pa-fluent-form-wrapper input:-webkit-autofill:hover,
.pa-fluent-form-wrapper input:-webkit-autofill:focus,
.pa-fluent-form-wrapper textarea:-webkit-autofill,
.pa-fluent-form-wrapper textarea:-webkit-autofill:hover,
.pa-fluent-form-wrapper textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #000000 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Cursor Fix */
.pa-fluent-form-wrapper form,
.pa-fluent-form-wrapper .ff-el-group {
    cursor: default !important;
}

.pa-fluent-form-wrapper input,
.pa-fluent-form-wrapper textarea {
    cursor: text !important;
}

/* ================================================
   ADMIN BAR FIXES
   ================================================ */
/* Force z-index to ensure visibility */
#wpadminbar {
    z-index: 99999 !important;
}

body #wpadminbar #adminbarsearch {
    display: flex !important;
    align-items: center !important;
    height: 32px !important;
    margin-top: 0 !important;
    background: transparent !important;
}

body #wpadminbar #adminbarsearch .adminbar-input {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 0 10px !important;
    height: 24px !important;
    width: 160px !important;
    max-width: 100% !important;
    line-height: 24px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    margin: 0 !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Reset generic input styles */
    -webkit-appearance: none !important;
    appearance: none !important;
}

body #wpadminbar #adminbarsearch .adminbar-input:focus {
    background-color: rgba(255, 255, 255, 0.25) !important;
    outline: none !important;
    border-color: #fff !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

body #wpadminbar #adminbarsearch .adminbar-button {
    display: none !important;
}

body #wpadminbar #adminbarsearch label.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    overflow: hidden;
}
}