/**
 * Supplier Page Styles
 * Extracted from win_assets/win-src/css/win-styles.min.css
 */

/* Inner wrapper background */
.inner-wrapper-bg {
    background: #e1e1e1;
    padding: 20px 0 150px;
}

@media (min-width: 768px) {
    .inner-wrapper-bg {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* Row equal height */
.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* Howtowin container / Supplier sign container */
.howtowin_container,
.supplier-sign-cnt {
    background-color: #2f2f2f;
    background-image: url(/win_assets/win-src/img/greybg.jpg);
    background-repeat: repeat;
}

@media (min-width: 992px) {
    .howtowin_container {
        background-repeat: repeat-y;
    }
}

.howtowin_content {
    padding: 10px 30px;
}

.supplier-sign-cnt-dtls {
    padding: 30px;
}

.supplier-sign-cnt-dtls p {
    line-height: 1.8;
    font-weight: 600;
}

/* Sign up note */
.sign-up-note {
    padding: 20px 25px;
    margin-top: 25px;
    background: #d9d9d9;
    color: #7c1544;
    font-weight: 600;
    border-radius: 5px;
    border: 1px solid rgba(154, 155, 102, .52);
}

/* Title label */
.title-label {
    display: inline-block;
    font-weight: 600;
    font-size: 17px;
    margin: 0;
    line-height: 1.5;
    padding: 10px 30px;
    background: #7c1544;
    color: #fff;
}

.sub_signup_mrgntop0 {
    margin-top: 0;
    position: relative;
    display: inline-block;
    color: white !important;
}

/* Subscriber/Supplier signup container */
.subscriber_signup_container,
.supplier_signup_container {
    background-color: #1c2229;
}

.subscriber_signup_formcontent,
.supplier_signup_formcontent {
    padding: 25px 80px;
}

@media (max-width: 767px) {
    .subscriber_signup_formcontent,
    .supplier_signup_formcontent {
        padding: 25px 10px;
    }
}

@media (min-width: 501px) and (max-width: 767px) {
    .subscriber_signup_formcontent,
    .supplier_signup_formcontent {
        padding: 25px 40px;
    }
}

.subscriber_signup_formtitle,
.supplier_signup_formtitle {
    padding-left: 15px;
    padding-bottom: 40px;
}

/* Title3 */
.title3 h4 {
    color: #fff;
    font-weight: 600;
}

/* White line */
.white-line-50 {
    border-bottom: 2px solid #fff;
    width: 50px;
}

.white-line-50-centr {
    border-bottom: 2px solid #fff;
    width: 50px;
    margin: 0 auto 25px;
}

/* Form styles */
.subscriber_signupform .form-group,
.supplier_signupform .form-group {
    margin-bottom: 23px;
}

.subscriber_signupform .form-control,
.supplier_signupform .form-control {
    border: 1px solid #b3b3b3;
    background-color: transparent;
    color: #fff;
    height: 38px;
    padding: 6px 12px;
    border-radius: 4px;
}

.subscriber_signupform .form-control:focus,
.supplier_signupform .form-control:focus {
    border: 1px solid #fff;
    outline: none;
    box-shadow: none;
}

.subscriber_signupform select.form-control,
.supplier_signupform select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.subscriber_signupform select.form-control option,
.supplier_signupform select.form-control option {
    background: #1c2229;
    color: #fff;
}

.subscriber_signupform .form-group textarea,
.supplier_signupform .form-group textarea {
    resize: none;
}

.subscriber_signupform .form-group label,
.supplier_signupform .form-group label {
    color: #fff;
}

/* Form control states */
.form-control.danger-border {
    border: 1px solid #ff5858;
}

.form-control.success-border {
    border: 1px solid #50a700;
}

/* Checkbox text */
.chkboxtxt {
    color: #fff;
    font-size: 12px;
    position: relative;
    top: -2px;
    left: 5px;
    font-weight: 600;
}

/* Square checkbox */
.sqr-chkbox {
    width: 18px;
    position: relative;
    float: left;
    margin-right: 5px;
}

.sqr-chkbox label {
    width: 18px;
    height: 18px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    background: #939357;
}

.sqr-chkbox label:after {
    content: '';
    width: 12px;
    height: 7px;
    position: absolute;
    top: 4px;
    left: 3px;
    border: 3px solid #fcfff4;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.sqr-chkbox label:hover::after {
    opacity: .3;
}

.sqr-chkbox input[type=checkbox],
.sqr-chkbox input[type=radio] {
    visibility: hidden;
}

.sqr-chkbox input[type=checkbox]:checked + label:after,
.sqr-chkbox input[type=radio]:checked + label:after {
    opacity: 1;
}

/* Membership level */
.select-membership-level .membership-level .table-responsive {
    margin-bottom: 5px;
}

.select-membership-level table {
    background: #d2d2d2;
    margin-bottom: 0;
}

.select-membership-level .table > thead > tr > th {
    border-bottom: 2px solid #a7a78e;
}

.membership-level {
    padding-top: 30px;
}

.membership-note {
    background: rgba(147, 147, 87, .5);
    color: #e1e1e1;
    padding: 0 2px;
}

.membership-note:hover {
    background: rgba(147, 147, 87, .9);
}

.membership-note-red {
    background: rgba(144, 16, 81, .6);
    color: #e1e1e1;
    padding: 0 2px;
}

.membership-note-red:hover {
    background: #901051;
}

.member-discount {
    color: #fff;
}

.member-discount span {
    padding: 0 5px;
}

.member-month {
    margin-bottom: 5px;
}

/* Card details */
.card-dtls {
    margin-bottom: 15px;
}

.card-dtls .form-group label {
    font-weight: 400;
    color: #fff;
}

/* Billing info */
.billing-info {
    padding: 20px;
}

/* Input info */
.input-info {
    font-size: 12px;
    color: #d2d2d2;
    margin-bottom: 0;
    padding-top: 2px;
}

/* Supplier signup captcha */
.supplier-signup-captcha {
    padding: 25px 0;
    background: #3d3d3d;
    border: 1px solid #5a5a5a;
}

.supplier-signup-captcha .prod_captcha_div {
    margin-bottom: 15px;
}

.supplier-signup-captcha .prod_captcha_div img {
    padding: 5px;
    border: 1px solid #e1e1e1;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .supplier-signup-captcha .prod_captcha_div {
        margin-left: 65px;
    }
}

/* Supplier signup checkbox */
.supplier-signup-chkbox {
    margin-bottom: 30px;
}

.supplier-signup-chkbox a {
    display: inline-block;
}

@media (min-width: 500px) {
    .supplier-signup-chkbox {
        width: 315px;
        margin: 0 auto 15px;
    }
}

@media (max-width: 500px) {
    .supplier-signup-chkbox {
        padding: 0 20px;
    }
}

/* Button theme */
.btn-theme {
    background: #5c0632;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-theme:focus,
.btn-theme:hover {
    background: #b6005d;
    color: #fff;
}

/* Subscriber signup button */
.subscribersignup_btndiv {
    padding-bottom: 12px;
}

.subscribersignup_btn {
    font-weight: 600;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 18px;
}

/* Alert styles */
.alert-danger {
    background-color: #fff9f9;
    border-color: #ebccd1;
    color: #ff0000;
}

.msg-error {
    color: #c65848;
}

/* Green link */
a.t-green {
    color: #939357;
}

a.t-green:hover {
    color: #79793e;
}

/* Padding utilities */
.padd-0 {
    padding: 0;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Column styles for Bootstrap 3 compatibility - SCOPED to inner-wrapper-bg only */
.inner-wrapper-bg .col-sm-12,
.inner-wrapper-bg .col-sm-10,
.inner-wrapper-bg .col-sm-8,
.inner-wrapper-bg .col-sm-6,
.inner-wrapper-bg .col-sm-4,
.inner-wrapper-bg .col-sm-2,
.inner-wrapper-bg .col-md-12,
.inner-wrapper-bg .col-md-10,
.inner-wrapper-bg .col-md-8,
.inner-wrapper-bg .col-md-6,
.inner-wrapper-bg .col-md-4,
.inner-wrapper-bg .col-xs-4,
.inner-wrapper-bg .col-xs-2 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
}

.inner-wrapper-bg .col-xs-2 { width: 16.66666667%; }
.inner-wrapper-bg .col-xs-4 { width: 33.33333333%; }

@media (min-width: 768px) {
    .inner-wrapper-bg .col-sm-2 { width: 16.66666667%; }
    .inner-wrapper-bg .col-sm-4 { width: 33.33333333%; }
    .inner-wrapper-bg .col-sm-6 { width: 50%; }
    .inner-wrapper-bg .col-sm-8 { width: 66.66666667%; }
    .inner-wrapper-bg .col-sm-10 { width: 83.33333333%; }
    .inner-wrapper-bg .col-sm-12 { width: 100%; }
}

@media (min-width: 992px) {
    .inner-wrapper-bg .col-md-4 { width: 33.33333333%; }
    .inner-wrapper-bg .col-md-6 { width: 50%; }
    .inner-wrapper-bg .col-md-8 { width: 66.66666667%; }
    .inner-wrapper-bg .col-md-10 { width: 83.33333333%; }
    .inner-wrapper-bg .col-md-12 { width: 100%; }
}

/* Table styles */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Tooltip icon div */
.tooltip_iconsdiv {
    display: inline-block;
}

/* Modal styles for terms */
.view-bill-modal .modal-body.terms-condition-modal-body {
    padding: 30px 0 30px 30px;
}

.terms-div-pop {
    padding-right: 30px;
}

.terms-of-service {
    overflow: auto;
    height: 642px;
}

.terms-cond {
    margin-bottom: 20px;
}

.terms ul {
    padding-left: 50px;
    padding-top: 20px;
}

.terms p {
    padding-left: 20px;
}

/* Modal header */
.what-search-modal-header h4 {
    color: #5c0632;
    font-weight: 700;
    padding: 0 10px;
}

/* Contact black */
.contact-black a {
    padding: 2px 5px;
    background: #2f2f2f;
    color: #fff;
    word-break: break-word;
}

.contact-black a:hover {
    background: #c5c5c5;
    color: #5c0632;
}

/* Sub sign margin adjustments */
@media (max-width: 767px) {
    .subscriber_signupform .sub-sign-city,
    .subscriber_signupform .sub-sign-frst-name,
    .subscriber_signupform .sub-sign-job-title,
    .subscriber_signupform .sub-sign-zip,
    .supplier_signupform .sub-sign-city,
    .supplier_signupform .sub-sign-frst-name {
        margin-bottom: 23px;
    }
}

/* Recaptcha badge */
.grecaptcha-badge {
    height: 91px !important;
}

.g-recaptcha.error {
    border: solid 2px #c64848;
    padding: .2em;
    width: 19em;
}

/* Prod captcha div */
.prod_captchaentering_div {
    text-align: center;
}

/* Row for form - SCOPED to inner-wrapper-bg only */
.inner-wrapper-bg .row {
    margin-right: -15px;
    margin-left: -15px;
}

.inner-wrapper-bg .row::before,
.inner-wrapper-bg .row::after {
    display: table;
    content: " ";
}

.inner-wrapper-bg .row::after {
    clear: both;
}

/* Container - SCOPED to inner-wrapper-bg only */
.inner-wrapper-bg .container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .inner-wrapper-bg .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .inner-wrapper-bg .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .inner-wrapper-bg .container {
        width: 1170px;
    }
}

/* Form group */
.form-group {
    margin-bottom: 15px;
}

/* Textarea */
textarea.form-control {
    height: auto;
    min-height: 80px;
}

/* Benefit member content */
.benefit-member-cnt {
    margin-bottom: 20px;
}

.benefit-member-cnt h4 {
    font-weight: 600;
}

/* Heading */
.heading {
    color: #5c0632;
}

/* ============================================
   Contact & Location Tab Styles
   ============================================ */

/* Contact/Location Cards */
.cpy_contactwrapper .card-custom {
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.cpy_contactwrapper .card-custom:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact/Location Modal Styles */
#editContactModal .modal-content,
#editLocationModal .modal-content {
    border-radius: 12px;
    border: none;
}

#editContactModal .modal-header,
#editLocationModal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

#editContactModal .modal-body,
#editLocationModal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

#editContactModal .modal-footer,
#editLocationModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

/* Contact/Location Entry Styles */
.contact-entry,
.location-entry {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.contact-entry:last-child,
.location-entry:last-child {
    border-bottom: none !important;
}

/* Form Labels */
#editContactModal .form-label,
#editLocationModal .form-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}

/* Form Controls */
#editContactModal .form-control,
#editContactModal .form-select,
#editLocationModal .form-control,
#editLocationModal .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

#editContactModal .form-control:focus,
#editContactModal .form-select:focus,
#editLocationModal .form-control:focus,
#editLocationModal .form-select:focus {
    border-color: #722F37;
    box-shadow: 0 0 0 0.2rem rgba(114, 47, 55, 0.15);
}

/* Remove Button */
.remove-contact-btn,
.remove-location-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Add More Button */
#addMoreContactBtn,
#addMoreLocationBtn {
    border-style: dashed;
    border-width: 2px;
}

#addMoreContactBtn:hover,
#addMoreLocationBtn:hover {
    background-color: rgba(114, 47, 55, 0.1);
    border-color: #722F37;
    color: #722F37;
}

/* Primary Badge */
.badge.bg-primary-custom {
    background-color: #722F37 !important;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

/* Contact Info Icons */
.cpy_contactwrapper .fa-envelope,
.cpy_contactwrapper .fa-phone,
.cpy_contactwrapper .fa-location-dot {
    width: 16px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    #editContactModal .modal-dialog,
    #editLocationModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #editContactModal .modal-body,
    #editLocationModal .modal-body {
        padding: 1rem;
    }
    
    .contact-entry .row > div,
    .location-entry .row > div {
        margin-bottom: 0.75rem;
    }
}
