/*
Theme Name: ZihanX Cloud Theme
Theme URI: https://zihanx.com
Author: ZihanX Team
Author URI: https://zihanx.com
Description: Custom WordPress Theme for ZihanX Cloud Infrastructure & Hosting
Version: 1.0.0
*/

/* ==========================================================================
   CF7 Premium Modern Form & Deep High-Contrast Cards
   ========================================================================== */
.contact-form-glow-card {
    transition: all 0.4s ease;
}

.contact-form-glow-card:hover {
    box-shadow: 0 25px 60px -12px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.cf7-premium-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cf7-premium-wrapper .wpcf7-form p {
    margin: 0;
}

.cf7-premium-wrapper .wpcf7-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-foreground, #475569);
    margin-bottom: 0.45rem;
}

/* Clear Input & Select Styling with Crisper Border */
.cf7-premium-wrapper input[type="text"],
.cf7-premium-wrapper input[type="email"],
.cf7-premium-wrapper input[type="tel"],
.cf7-premium-wrapper select,
.cf7-premium-wrapper textarea {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.65rem 1.15rem;
    border-radius: 0.75rem;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    font-size: 0.9375rem;
    color: #0f172a !important;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cf7-premium-wrapper textarea {
    min-height: 8.5rem;
    line-height: 1.5;
    padding: 0.85rem 1.15rem;
}

/* Hover State */
.cf7-premium-wrapper input[type="text"]:hover,
.cf7-premium-wrapper input[type="email"]:hover,
.cf7-premium-wrapper input[type="tel"]:hover,
.cf7-premium-wrapper select:hover,
.cf7-premium-wrapper textarea:hover {
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
}

/* Focus Glow */
.cf7-premium-wrapper input:focus,
.cf7-premium-wrapper select:focus,
.cf7-premium-wrapper textarea:focus {
    outline: none !important;
    background: #ffffff !important;
    border-color: var(--brand, #3b82f6) !important;
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand, #3b82f6) 20%, transparent), 0 4px 12px -2px rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-1px);
}

/* Dropdown Arrow */
.cf7-premium-wrapper select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.15rem center !important;
    background-size: 1.1rem !important;
    padding-right: 2.75rem !important;
    cursor: pointer;
}

/* Submit Button with Gradient Glow */
.cf7-premium-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.25rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(120deg, color-mix(in oklab, var(--brand, #3b82f6) 90%, var(--violet, #8b5cf6)), color-mix(in oklab, var(--cyan, #06b6d4) 55%, var(--brand, #3b82f6)));
    border: none !important;
    box-shadow: 0 10px 25px -6px var(--brand, #3b82f6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.5rem;
}

.cf7-premium-wrapper input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -6px var(--brand, #3b82f6);
}