/* =============================================================
   GW FILE LINK — Product Page Styles
   Brand color: #D69639  |  graphicworld.co
============================================================= */

/* ── Outer box ───────────────────────────────────────────── */
.gw-fl-box {
    background: #fffdf7;
    border: 1.5px solid #e8c97a;
    border-radius: 12px;
    padding: 18px 20px 16px;
    margin: 0 0 22px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    box-shadow: 0 2px 10px rgba(214, 150, 57, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gw-fl-box:focus-within {
    border-color: #D69639;
    box-shadow: 0 2px 16px rgba(214, 150, 57, 0.18);
}

/* ── Logo strip ──────────────────────────────────────────── */
.gw-fl-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.gw-fl-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.gw-fl-logo-item svg {
    display: block;
    flex-shrink: 0;
}
.gw-fl-logo-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
}
.gw-fl-separator {
    color: #ccc;
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

/* ── Description ─────────────────────────────────────────── */
.gw-fl-desc {
    font-size: 13.5px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 12px;
}
.gw-fl-desc strong {
    color: #D69639;
}

/* ── Input row ───────────────────────────────────────────── */
.gw-fl-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.gw-fl-input {
    width: 100% !important;
    border: 1.5px solid #ddd !important;
    border-radius: 8px !important;
    padding: 11px 44px 11px 40px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    -webkit-appearance: none;
    height: auto !important;
}
.gw-fl-input::placeholder {
    color: #aaa;
    font-size: 13.5px;
}
.gw-fl-input:focus {
    border-color: #D69639 !important;
    box-shadow: 0 0 0 3px rgba(214, 150, 57, 0.12) !important;
}
.gw-fl-input.gw-fl-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}
.gw-fl-input.gw-fl-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Link icon inside input (left side) */
.gw-fl-input-icon {
    position: absolute;
    left: 13px;
    color: #aaa;
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.gw-fl-box:focus-within .gw-fl-input-icon {
    color: #D69639;
}

/* Green tick (right side) — shown when valid URL entered */
.gw-fl-check {
    position: absolute;
    right: 14px;
    color: #28a745;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

/* Error message */
.gw-fl-error {
    font-size: 12.5px;
    color: #dc3545;
    margin: 6px 0 0;
    padding: 0;
    line-height: 1.5;
}

/* Optional "clear" button appears when field has content */
.gw-fl-clear {
    position: absolute;
    right: 36px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    display: none;
    transition: color 0.2s;
}
.gw-fl-clear:hover { color: #dc3545; }
.gw-fl-clear.visible { display: block; }

/* ── Accepted services tag line ──────────────────────────── */
.gw-fl-accepted {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.gw-fl-tag {
    display: inline-block;
    background: #f5f0e8;
    border: 1px solid #e8c97a;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11.5px;
    color: #7a6030;
    font-weight: 500;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 520px) {
    .gw-fl-box {
        padding: 14px 14px 12px;
    }
    .gw-fl-logos {
        gap: 10px;
    }
    .gw-fl-separator {
        display: none;
    }
    .gw-fl-logo-name {
        font-size: 12.5px;
    }
    .gw-fl-input {
        font-size: 13px !important;
        padding: 10px 40px 10px 36px !important;
    }
}
