:root {
    --success-color: #00c853;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --bg-hover: rgba(26, 26, 26, 0.05);
}
a{
    text-decoration: none;
    color: #444
}
a:hover{
    text-decoration: none;
    color: var(--primary-hover-color)
}
body {
    background-color: #f8f9fa;
    color: #37474f;
    font-size: 0.9rem
}

/* Header Stilleri */
.account-header{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.account-header, .checkout-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.logo img {
    width: auto;
}

/* Sidebar Stilleri */
.account-sidebar {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 12px;
}

.account-user {
    border-bottom: 1px solid var(--border-color);
}

.user-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.account-menu {
    padding: 1rem 0;
}

.account-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #37474f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.account-menu-item:hover {
    background-color: var(--bg-hover);
    color: var(--primary-color);
    text-decoration: none;
}

.account-menu-item.active {
    background-color: var(--bg-hover);
    color: var(--primary-color);
    font-weight: 500;
}

.account-menu-item i {
    width: 20px;
    margin-right: 10px;
}

.account-menu-item .badge {
    margin-left: auto;
}

/* Kartlar için genel stiller */
.card {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 12px 12px 0 0 !important;
}

.card-body {
    padding: 1.5rem;
}

/* Butonlar */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background: #00b248;
    border-color: #00b248;
}


@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1440px;
    }
}

/* Form Elemanları */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

select.form-control {
    padding: 5px 7px !important;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 98, 255, 0.1);
}

/* Custom Radio ve Checkbox */
.custom-control-label::before {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
}

.address-card {
    position: relative;
}

.address-card .badge {
    position: absolute;
    top: 0;
    left: 23px;
    border-radius: 0 0 5px 5px;
    background: #dffce7;
    color: #3e8a49;
    border: 1px solid #cbe8d3;
    border-top: 0 !important;
}

.custom-control-label::after {
    position: absolute;
    top: 0.35rem;
    left: -1.33rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: 50% / 50% 50% no-repeat;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

/* Adres Kartı Stilleri */
.address-item, .payment-method, .delivery-method {
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.address-item:hover, .payment-method:hover, .delivery-method:hover {
    border-color: #bdbdbd;
}

.address-item.active {
    border-color: #444;
    background-color: rgba(0, 0, 0, 0.05);
}


.delivery-method.active {
    border-color: #444;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Adres Tipi Seçici */
.address-type-container {
    gap: 1rem;
}

.address-type-item {
    flex: 1;
    position: relative;
}

.address-type-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.address-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.address-type-label i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.address-type-label span {
    font-size: 0.9rem;
    font-weight: 500;
}

.address-type-input:checked + .address-type-label {
    border-color: var(--primary-color);
    background-color: rgba(41, 98, 255, 0.05);
}

.address-type-input:checked + .address-type-label i {
    color: var(--primary-color);
}

.address-type-label:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sepet Ürünleri */
.cart-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h6 {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.price {
    font-weight: 600;
}

/* Toplam Alanı */
.cart-totals {
    font-size: 0.95rem;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Modal Stilleri */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    .checkout-type .btn {
        padding: 0.75rem 1rem;
    }

    .order-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .order-info, .order-status, .order-price, .order-action {
        margin-bottom: 0.5rem;
    }

    .order-action {
        width: 100%;
    }

    .order-action .btn {
        width: 100%;
    }
}

.payment-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.two-line-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 satıra sınırlar */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delivery-method.active .payment-details {
    max-height: 300px; /* Formun maksimum yüksekliği */
    opacity: 1;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

.modal-body {
    padding: 30px;
}

.welcome-text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.social-login {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #f8f8f8;
}

.social-btn i {
    font-size: 20px;
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
    color: #666;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: #e1e1e1;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}


.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}


.forgot-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

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

.btn-sign-in {
    width: 100%;
    padding: 14px;
    background: #18181b;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.btn-sign-in:hover {
    background: #000;
}

.signup-prompt {
    color: #666;
}

.signup-prompt a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

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

@media (max-width: 576px) {
    .modal-body {
        padding: 30px 20px;
    }
}

.welcome-text {
    font-size: 12px;
    color: #666;
    line-height: 1;
}

.welcome-text {
    font-size: 12px;
    color: #666;
    line-height: 1;
}
.table-card .card-body{
    padding: 0;
}
.table-card .card-header{
    border: 0
}

/* Checkout Steps */
.checkout-steps {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    position: relative;
}


.checkout-steps li {
    text-align: center;
    padding: 10px 30px;
    position: relative;
    z-index: 2;
}

.checkout-steps .step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: all 0.3s ease;
}

.checkout-steps .step-icon i {
    font-size: 16px;
    color: #6c757d;
}

.checkout-steps .step-title {
    font-weight: 500;
    color: #6c757d;
    font-size: 13px;
}

.checkout-steps li.active .step-icon {
    background-color: var(--primary-color);
}

.checkout-steps li.active .step-icon i {
    color: #fff;
}

.checkout-steps li.active .step-title {
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-steps li.completed .step-icon {
    background-color: #28a745;
}

.checkout-steps li.completed .step-icon i {
    color: #fff;
}
.delivery-method input{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.delivery-method i{
    color: rgba(0,0,0,0.1)
}
.delivery-method.active i{
    color: var(--success-color)
}