﻿/* B2C Üye Ol */
.b2c-register-wrap {
    max-width: 720px;
    margin: 0 auto 40px;
}

.b2c-register-wrap-wide {
    max-width: 800px;
}

.b2c-member-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.b2c-member-type-tab {
    display: block;
    text-align: center;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid #d9d9d9;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    margin: 0;
}

label.b2c-member-type-tab {
    font-weight: normal;
}

.b2c-member-type-tab:hover {
    border-color: #33A5DD;
    color: #135576;
    text-decoration: none;
}

.b2c-member-type-tab.active {
    border-color: #33A5DD;
    background: #f0f9fd;
    box-shadow: 0 4px 14px rgba(51, 165, 221, 0.18);
}

.b2c-member-type-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.b2c-member-type-desc {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.b2c-person-type-tabs {
    margin-bottom: 20px;
}

.b2c-form-row textarea.form-control {
    height: auto;
    min-height: 90px;
    resize: vertical;
}

.b2c-form-row select.form-control {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fff;
}

.b2c-form-row .text-error {
    display: block;
    color: #b42318;
    font-size: 12px;
    margin-top: 4px;
}

.b2c-form-row .field-with-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.b2c-form-row .field-with-status .form-control {
    flex: 1;
}

.b2c-form-row .field-with-status img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.b2c-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.b2c-checkbox-row input[type="checkbox"] {
    margin-top: 3px;
}

.b2c-checkbox-row a {
    color: #33A5DD;
}

.b2c-alert-info {
    background: #e8f4fc;
    color: #135576;
    border: 1px solid #b8dff5;
}

.b2c-invoice-warning {
    background: #fff8e6;
    border: 1px solid #f0d78c;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #7a5b00;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .b2c-member-type-tabs {
        grid-template-columns: 1fr;
    }
}

.b2c-register-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    padding: 32px 36px 28px;
    border-top: 4px solid #33A5DD;
    overflow: hidden;
}

.b2c-register-card::after {
    content: "";
    display: block;
    clear: both;
}

.b2c-register-card h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: #232323;
}

.b2c-register-card .lead {
    color: #666;
    margin-bottom: 24px;
    font-size: 14px;
}

.b2c-form-row {
    margin-bottom: 16px;
}

.b2c-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.b2c-form-row .form-control {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
}

.b2c-form-row .form-control:focus {
    border-color: #33A5DD;
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 165, 221, 0.15);
}

.b2c-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.b2c-register-card .span12.control-group {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.b2c-register-card .control-group .control-label {
    float: left;
    width: auto;
    margin-right: 8px;
    padding-top: 2px;
    text-align: left;
}

.b2c-register-card .control-group .controls {
    display: block;
    overflow: hidden;
    margin-left: 0;
    line-height: 1.5;
    font-size: 14px;
    color: #444;
}

.b2c-register-card .control-group .controls a {
    color: #33A5DD;
}

@media (max-width: 640px) {
    .b2c-form-grid {
        grid-template-columns: 1fr;
    }

    .b2c-register-card {
        padding: 24px 18px;
    }
}

.b2c-submit {
    margin-top: 16px;
    clear: both;
}

.b2c-submit .orangeBt {
    float: none;
    display: inline-block;
    min-width: 180px;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 8px;
    background: #33A5DD;
    color: #fff;
    margin: 0;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.b2c-submit .orangeBt:hover {
    background: #135576;
    color: #fff;
}

.b2c-submit .orangeBt[disabled],
.b2c-submit .orangeBt:disabled {
    background: #b8d9eb;
    color: #fff;
    cursor: not-allowed;
}

.b2c-alert {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.b2c-alert-error {
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
}

.b2c-alert-success {
    background: #e8f7ee;
    color: #1b6b3a;
    border: 1px solid #b7e4c7;
}

.b2c-success-box {
    text-align: center;
    padding: 24px 12px;
}

.b2c-success-box h2 {
    color: #1b6b3a;
    margin-bottom: 12px;
}

.b2c-success-box p {
    color: #444;
    line-height: 1.6;
}

.b2c-success-box .username {
    font-weight: 700;
    color: #33A5DD;
}

/* B2C adres modal */
.b2c-address-modal {
    width: 560px;
    margin-left: -280px;
    left: 50%;
    box-sizing: border-box;
}

.b2c-address-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 20px;
}

.b2c-address-modal .b2c-form-grid {
    grid-template-columns: 1fr;
}

.b2c-address-modal .select2-container {
    max-width: 100%;
    box-sizing: border-box;
    padding: 0px;
}

.b2c-address-modal .select2-drop {
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 520px) {
    .b2c-address-modal .b2c-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* B2C sepet toplamları */
.b2c-cart-totals-wrap {
    width: 100%;
    margin-bottom: 12px;
}

.b2c-cart-totals-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.b2c-cart-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.b2c-cart-totals-row:last-child {
    border-bottom: none;
}

.b2c-cart-totals-label {
    font-weight: 600;
    color: #333;
}

.b2c-cart-totals-value {
    font-weight: 600;
    color: #232323;
    white-space: nowrap;
}

.b2c-cart-totals-row-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 2px solid #33A5DD;
    border-bottom: none;
}

.b2c-cart-totals-row-total .b2c-cart-totals-label,
.b2c-cart-totals-row-total .b2c-cart-totals-value {
    font-size: 16px;
    font-weight: 700;
    color: #be2922;
}

.b2c-cart-cargo-strike {
    text-decoration: line-through;
    color: #999;
    font-weight: 600;
}

.b2c-cart-cargo-free {
    color: #2e8b3d;
    font-weight: 700;
    margin-left: 6px;
}

.b2c-cart-cargo-message {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff8e6;
    border: 1px solid #f0d78c;
    color: #7a5b00;
    font-size: 13px;
    line-height: 1.45;
}
