/* ===================================================
   Legal Case Review Form — style.css
   Plugin: legal-case-form | Author: Netlifey
=================================================== */

/* ── Wrapper ── */
.lcf-wrap {
    background: #0d1b2e;
    border: 1px solid #2a3a50;
    border-radius: 12px;
    padding: 40px 32px 32px;
    max-width: 460px;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}

/* ── Top Icon ── */
.lcf-top-icon {
    width: 58px;
    height: 58px;
    background: #1a2a3a;
    border: 1.5px solid #b8922a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

/* ── Title ── */
.lcf-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #c9a227 !important;
    margin: 0 0 8px !important;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ── Subtitle ── */
.lcf-sub {
    text-align: center;
    font-size: 13px;
    color: #7a8a9a;
    margin: 0 0 28px !important;
    line-height: 1.5;
}

.lcf-sub span {
    color: #c9a227;
    font-weight: 500;
}

/* ── Alert / Message Box ── */
.lcf-messages {
    display: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.lcf-messages.lcf-error {
    display: block;
    background: #2a1010;
    border: 1px solid #5a2020;
    color: #e07070;
}

.lcf-messages.lcf-success {
    display: block;
    background: #0f2a1a;
    border: 1px solid #1a5a30;
    color: #70c090;
}

/* ── Form Group ── */
.lcf-group {
    margin-bottom: 18px;
}

/* ── Label ── */
.lcf-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #7a8a9a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ── Input Wrapper ── */
.lcf-input-wrap {
    background: #111f30;
    border: 1px solid #2a3a50;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: border-color 0.2s;
    overflow: hidden;
}

.lcf-input-wrap:focus-within {
    border-color: #c9a227;
}

/* ── SVG Icons inside inputs ── */
.lcf-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #4a5a6a;
    margin: 0 12px 0 14px;
}

.lcf-icon-top {
    align-self: flex-start;
    margin-top: 14px;
}

/* ── Input / Textarea / Select ── */
.lcf-wrap input[type="text"],
.lcf-wrap input[type="tel"],
.lcf-wrap input[type="email"],
.lcf-wrap textarea,
.lcf-wrap select {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #c8d8e8 !important;
    font-size: 14px;
    padding: 13px 14px 13px 0;
    width: 100%;
    font-family: inherit;
    line-height: 1.4;
}

.lcf-wrap input::placeholder,
.lcf-wrap textarea::placeholder {
    color: #3a4a5a;
}

/* ── Textarea ── */
.lcf-textarea-wrap {
    align-items: flex-start;
}

.lcf-wrap textarea {
    height: 110px;
    resize: vertical;
    padding: 13px 14px 13px 0;
}

/* ── Select ── */
.lcf-select-wrap {
    position: relative;
}

.lcf-wrap select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #3a4a5a !important;
    padding-right: 40px;
}

.lcf-wrap select:focus,
.lcf-wrap select option:checked {
    color: #c8d8e8 !important;
}

.lcf-wrap select option {
    background: #111f30;
    color: #c8d8e8;
}

.lcf-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    flex-shrink: 0;
}

/* ── Submit Button ── */
.lcf-btn {
    width: 100%;
    background: linear-gradient(135deg, #c9a227 0%, #a07c18 100%);
    border: none;
    border-radius: 6px;
    padding: 15px 20px;
    color: #0d1b2e;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    transition: opacity 0.2s, transform 0.1s;
    position: relative;
}

.lcf-btn:hover {
    opacity: 0.9;
}

.lcf-btn:active {
    transform: scale(0.98);
}

.lcf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lcf-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Spinner ── */
.lcf-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(13, 27, 46, 0.3);
    border-top-color: #0d1b2e;
    border-radius: 50%;
    animation: lcf-spin 0.7s linear infinite;
}

.lcf-btn.lcf-loading .lcf-spinner { display: inline-block; }
.lcf-btn.lcf-loading .lcf-btn-text,
.lcf-btn.lcf-loading .lcf-arrow    { display: none; }

@keyframes lcf-spin {
    to { transform: rotate(360deg); }
}

/* ── Privacy Text ── */
.lcf-privacy {
    text-align: center;
    font-size: 11px;
    color: #3a4a5a;
    margin: 14px 0 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
}

.lcf-privacy svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #3a4a5a;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .lcf-wrap {
        padding: 28px 18px 24px;
        border-radius: 8px;
    }

    .lcf-title {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
}
