/* ============================================
   Growvern Embeddable Forms
   Used by [gv_form] shortcode on dynamic pages
   ============================================ */

.gv-embed-form {
    background: linear-gradient(135deg, #0a1a2f 0%, #0f2440 100%);
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
    border: 1px solid rgba(248, 209, 2, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.gv-ef-header {
    padding: 32px 36px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gv-ef-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
}

.gv-ef-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.gv-ef-body {
    padding: 28px 36px 36px;
}

.gv-ef-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.gv-ef-field {
    margin-bottom: 16px;
}

.gv-ef-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gv-ef-field label span {
    color: #f8d102;
}

.gv-ef-field input,
.gv-ef-field select,
.gv-ef-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.gv-ef-field input::placeholder,
.gv-ef-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.gv-ef-field input:focus,
.gv-ef-field select:focus,
.gv-ef-field textarea:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: #f8d102;
    box-shadow: 0 0 0 3px rgba(248, 209, 2, 0.12);
}

.gv-ef-field select {
    appearance: auto;
    cursor: pointer;
}

.gv-ef-field select option {
    background: #0a1a2f;
    color: #fff;
}

.gv-ef-field textarea {
    resize: vertical;
    min-height: 80px;
}

.gv-ef-submit {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #f8d102 0%, #e5c000 100%);
    color: #0a1430;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.gv-ef-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 209, 2, 0.35);
}

.gv-ef-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gv-ef-submit span {
    margin-left: 6px;
    transition: margin-left 0.2s ease;
}

.gv-ef-submit:hover span {
    margin-left: 10px;
}

/* Success State */
.gv-ef-success {
    padding: 60px 36px;
    text-align: center;
}

.gv-ef-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.gv-ef-success h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.gv-ef-success p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin: 0;
}

/* Error message */
.gv-ef-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #f87171;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

/* Loading state */
.gv-ef-loading .gv-ef-submit {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 640px) {
    .gv-ef-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .gv-ef-header {
        padding: 24px 20px 18px;
    }
    .gv-ef-title {
        font-size: 22px;
    }
    .gv-ef-body {
        padding: 20px;
    }
    .gv-ef-success {
        padding: 40px 20px;
    }
}
