/* =========================================================================
   BSAF FRONTEND FORMS – Contact Us, Sell To Us, Login/Forgot Password
   ========================================================================= */

/* General form wrapper */
.bsaf-form-wrap {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bsaf-public-form .bsaf-form-group {
    margin-bottom: 22px;
}

.bsaf-input,
.bsaf-select,
.bsaf-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.bsaf-input:focus,
.bsaf-select:focus,
.bsaf-textarea:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

.bsaf-input::placeholder,
.bsaf-textarea::placeholder {
    color: #aaa;
}

.bsaf-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.bsaf-hint {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.bsaf-select {
    appearance: auto;
    cursor: pointer;
}

.bsaf-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Phone field */
.bsaf-phone-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.bsaf-phone-flag {
    padding: 12px 12px;
    font-size: 16px;
    border-right: 1px solid #d0d5dd;
    background: #f9fafb;
    white-space: nowrap;
    user-select: none;
}

.bsaf-phone-input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
}

.bsaf-phone-input:focus {
    box-shadow: none !important;
}

/* Submit button */
.bsaf-form-submit {
    text-align: center;
    margin-top: 25px;
}

.bsaf-btn-submit {
    display: inline-block;
    padding: 12px 40px;
    background: #4a90d9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.bsaf-btn-submit:hover {
    background: #3a7bc8;
}

.bsaf-btn-send {
    background: #6ca0dc;
    padding: 12px 50px;
    font-size: 17px;
    letter-spacing: 1px;
}

.bsaf-btn-send:hover {
    background: #5a8ec8;
}

/* Form status message */
.bsaf-form-status {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.bsaf-form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bsaf-form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =========================================================================
   CONTACT US – Info section
   ========================================================================= */

.bsaf-contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.bsaf-contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 12px 0;
    color: #222;
}

.bsaf-contact-info h3:first-child {
    margin-top: 0;
}

.bsaf-phone-link {
    font-size: 18px;
    color: #4a90d9;
    text-decoration: none;
    font-weight: 500;
}

.bsaf-phone-link:hover {
    text-decoration: underline;
}

.bsaf-hours-table {
    border-collapse: collapse;
    font-size: 15px;
}

.bsaf-hours-table td {
    padding: 3px 20px 3px 0;
    vertical-align: top;
}

.bsaf-small {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* Social links */
.bsaf-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.bsaf-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transform: rotate(45deg);
    transition: opacity 0.2s;
}

.bsaf-social-icon i {
    transform: rotate(-45deg);
}

.bsaf-social-icon:hover {
    opacity: 0.85;
}

.bsaf-facebook { background: #3b5998; }
.bsaf-linkedin { background: #0077b5; }
.bsaf-twitter { background: #1da1f2; }

/* =========================================================================
   SELL TO US – Header & Warning banner
   ========================================================================= */

.bsaf-sell-header {
    text-align: center;
    padding: 10px 0 15px;
}

.bsaf-sell-title {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.bsaf-sell-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0;
}

.bsaf-sell-phone {
    color: #4a90d9;
    text-decoration: none;
    font-weight: 500;
}

.bsaf-sell-phone:hover {
    text-decoration: underline;
}

.bsaf-sell-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0 25px 0;
}

.bsaf-warning-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fef9e7;
    border: 1px solid #f0e0a0;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
    color: #5a4e00;
}

.bsaf-warning-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* File upload */
.bsaf-file-upload-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.bsaf-file-icon {
    padding: 10px 12px;
    font-size: 20px;
    border-right: 1px solid #d0d5dd;
    background: #f9fafb;
}

.bsaf-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.bsaf-file-label {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
}

.bsaf-file-text {
    flex: 1;
    padding: 12px 14px;
    color: #aaa;
    font-size: 15px;
}

.bsaf-file-browse {
    padding: 12px 18px;
    background: #6ca0dc;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.bsaf-file-browse:hover {
    background: #5a8ec8;
}

.bsaf-file-list {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}

.bsaf-file-list .bsaf-file-item {
    padding: 3px 0;
}

/* =========================================================================
   LOGIN / FORGOT PASSWORD
   ========================================================================= */

.bsaf-login-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
    background: #f7f8fa;
}

.bsaf-login-logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 30px;
}

.bsaf-login-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 35px 40px;
    width: 100%;
    max-width: 420px;
}

.bsaf-login-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #222;
}

.bsaf-login-card .bsaf-form-group {
    margin-bottom: 18px;
}

.bsaf-login-card label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.bsaf-forgot-link {
    color: #4a90d9;
    font-size: 13px;
    text-decoration: none;
}

.bsaf-forgot-link:hover {
    text-decoration: underline;
}

.bsaf-btn-signin {
    width: 100%;
    padding: 12px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    font-family: inherit;
    transition: background 0.2s;
}

.bsaf-btn-signin:hover {
    background: #2a2a4e;
}

.bsaf-signup-text {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 18px;
}

.bsaf-signup-text a {
    color: #4a90d9;
    text-decoration: none;
    font-weight: 500;
}

.bsaf-signup-text a:hover {
    text-decoration: underline;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 600px) {
    .bsaf-form-wrap {
        padding: 0 12px;
    }

    .bsaf-login-card {
        padding: 25px 20px;
    }

    .bsaf-social-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}



/* Footer Links Section */
.bsaf-footer-links {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 40px 20px;
    margin-top: 0;
}
.bsaf-footer-links__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}
.bsaf-footer-links__column h4 {
    color: #4da6ff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}
.bsaf-footer-links__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bsaf-footer-links__column ul li {
    margin-bottom: 8px;
}
.bsaf-footer-links__column ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}
.bsaf-footer-links__column ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .bsaf-footer-links__inner {
        flex-direction: column;
        gap: 30px;
    }
}
