/* ORDER DETAILS */
/* Check Order */
:root {
    --primary-color: #4a90e2;
    /* Modern Mavi */
    --primary-hover: #357abd;
    --secondary-color: #f5f7fa;
    /* Açık Gri Arkaplan */
    --text-dark: #2d3436;
    --text-light: #636e72;
    --border-color: #dfe6e9;
    --white: #ffffff;
    --success-bg: #d4edda;
    --success-text: #155724;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --radius: 8px;
    /* Yuvarlatılmış köşeler */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Chrome, Safari, Edge ve Opera için */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox için */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.input-container {
    display: flex;
    align-items: center;
}

.input-container span {
    padding: 3.5px;
    border: 1px solid #ccc;
    /* İsteğe bağlı: kenarlık */

}

.input-container input {
    border: 1px solid #ccc;
    /* İsteğe bağlı: kenarlık */
    border-left: none;
    padding: 5px;
    outline: none;
    flex: 1;
}

/* -------------------------------------------------------------------------- */
/* NEW ORDER DETAILS DESIGN */
/* -------------------------------------------------------------------------- */

.order-details-container {
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.details-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.order-code {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
}

.order-date {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-group .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-group .value {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.status-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.detail-item-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    background: #fcfcfc;
    border: 1px solid #f1f1f1;
    transition: transform 0.2s ease;
}

.detail-item:hover {
    transform: translateX(5px);
    background: #fff;
    border-color: var(--primary-color);
}

.detail-item-img {
    width: 100px;
    height: 125px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.detail-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    text-decoration: none;
}

.detail-item-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-item-meta strong {
    color: var(--text-dark);
}

.detail-item-price-qty {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.order-actions-row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-list-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.info-list-item .label {
    color: var(--text-light);
}

.info-list-item .value {
    font-weight: 600;
}

.info-list-item.discount {
    color: #2e7d32;
    font-weight: 600;
}

.info-list-item.total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.info-list-item.total .label {
    font-weight: 800;
    color: var(--text-dark);
}

.info-list-item.total .value {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tracking-btn-large {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tracking-btn-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

@media screen and (max-width: 600px) {
    .detail-card {
        padding: 1.5rem;
    }

    .detail-item {
        flex-direction: column;
        gap: 1rem;
    }

    .detail-item-img {
        width: 120px;
        height: 160px;
        align-self: flex-start;
    }

    .status-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* SHARED ACCOUNT LAYOUT */
/* -------------------------------------------------------------------------- */

.main-container {
    display: flex;
    flex-direction: column;
}

.left {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-left: 1rem;
}

.right {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.right video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    clip-path: inset(2px 2px);
    justify-content: center;
}

/* -------------------------------------------------------------------------- */
/* NEW ORDERS PAGE DESIGN */
/* -------------------------------------------------------------------------- */

.orders-header {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-left: 1rem;
}

.orders-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.orders-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.orders-container {
    max-width: 900px;
    width: 100%;
    margin-bottom: 4rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card-wrapper {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.order-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f8f9fa;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-meta {
    display: flex;
    gap: 2.5rem;
}

.order-date-box,
.order-code-box,
.price-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-card-header .label,
.price-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-weight: 600;
}

.order-card-header .value,
.price-box .value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Status Colors */
.status-success,
.status-paid,
.status-approved {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-3dinitialize,
.status-pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

.status-shipped {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-delivered {
    background-color: #f1f8e9;
    color: #558b2f;
}

.status-failure {
    background-color: #ffebee;
    color: #c62828;
}

.order-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}

.order-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f8f9fa;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tracking-btn {
    background-color: #f5f5f5;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.tracking-btn:hover {
    background-color: #eeeeee;
    border-color: #cccccc;
}

.review-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.review-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.items-preview {
    display: flex;
    align-items: center;
    position: relative;
    mask-image: linear-gradient(to right, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
    padding-right: 1.5rem;
}

.preview-img-wrapper {
    width: 60px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--white);
    margin-right: -25px;
    /* Deeper stack */
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.08);
    /* Shadow to left for depth */
    transition: transform 0.3s ease;
}

.order-card:hover .preview-img-wrapper {
    transform: translateX(-5px);
}

.preview-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-items-badge {
    margin-left: 35px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 700;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.order-summary-mini {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.price-box .value {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.arrow-box {
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.order-card:hover .arrow-box {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Empty State */
.no-orders {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px dashed var(--border-color);
}

.no-orders-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.no-orders h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.no-orders p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.shop-now-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.shop-now-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .order-meta {
        gap: 1rem;
    }

    .order-summary-mini {
        gap: 1rem;
    }

    .price-box .value {
        font-size: 1rem;
    }

    /* Mobile limit for items preview */
    .preview-img-wrapper.item-3,
    .preview-img-wrapper.item-4 {
        display: none;
    }

    .items-preview {
        mask-image: linear-gradient(to right, black 50%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
    }
}


/* Addresses Page Modern Design */
.addresses-main {
    padding: 2rem 0;
    background-color: var(--secondary-color);
    min-height: 100vh;
    border-radius: 12px;
}

.account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.addresses-header h1 {
    font-size: 2.5rem;
    font-weight: 850;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.addresses-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.add-address-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-dark);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.add-address-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.add-address-btn img {
    width: 20px;
    filter: invert(1);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.address-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.address-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.type-icon {
    font-size: 1.25rem;
}

.address-type h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.address-actions {
    display: flex;
    gap: 0.75rem;
}

.edit-action,
.delete-action {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #eee;
    background: #fafafa;
    flex-shrink: 0;
}

.edit-action img {
    width: 20px;
    height: 20px;
}

.delete-action svg {
    width: 18px;
    height: 18px;
}

.edit-action:hover {
    background: #eef2ff;
    border-color: #cbd5e1;
}

.delete-action {
    color: #ef4444;
}

.delete-action:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.address-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.city-state {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.full-address {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f1f1;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.contact-info .icon {
    font-size: 1rem;
    width: 20px;
}

@media screen and (max-width: 768px) {
    .addresses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }

    .add-address-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Collection cards */
.card-container {
    display: flex;
    gap: 3rem;
    justify-items: center;
    flex-direction: column;
}

.card,
.cardlink {
    width: 100%;
    height: 30vh;
    background-color: grey;
    border-radius: 1rem;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    color: white;
    position: relative;
}

.cardinfo {
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 10px;
    gap: 4px;
    font-family: "Archivo";
}

/* Account Settings */
/* --- Profil Resmi Alanı --- */

.profile-pic-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#preview:hover {
    transform: scale(1.02);
}

/* Address Forms (Add/Edit) Modern Styles */
.address-form-main {
    padding: 4rem 0;
    background-color: var(--secondary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.address-form-container {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.address-form-card {
    background: var(--white);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.form-header {
    margin-bottom: 2.5rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 850;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-form-card .text-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 1.5px solid #edf2f7;
    border-radius: 14px;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

.address-form-card .text-input:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.address-form-card textarea.text-input {
    resize: none;
    line-height: 1.5;
}

.address-form-card .text-input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.form-actions {
    margin-top: 2.5rem;
}

.submit-form-btn {
    width: 100%;
    background: var(--text-dark);
    color: var(--white);
    padding: 1.1rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.submit-form-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 600px) {
    .address-form-card {
        padding: 2rem;
        border-radius: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-header h1 {
        font-size: 1.75rem;
    }
}

/* --- General Account Layout Fixes --- */
.account-main {
    margin-top: 8rem !important;
    /* Forces enough space from fixed navbar */
    padding: 0 2rem 4rem 2rem;
    min-height: calc(100vh - 8rem);
    border-radius: 12px;
}

/* --- Form Düzeni --- */
form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    display: block;
}

/* --- Input Alanları --- */
.text-input,
input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: #fdfdfd;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background-color: var(--white);
}

.text-input:disabled {
    background-color: #f0f0f0;
    color: var(--text-light);
    cursor: not-allowed;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-select {
    min-width: 140px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.social-input {
    flex: 1;
}

/* File input için özel stil */
input[type="file"] {
    padding: 10px;
    background-color: var(--white);
}

/* --- Butonlar --- */
button {
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px;
    font-size: 1rem;
    margin-top: 1rem;
    width: 100%;
    box-shadow: 0 4px 6px rgba(74, 144, 226, 0.2);
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.primary-btn:active {
    transform: translateY(1px);
}

/* --- Alt Aksiyon Butonları (Şifre/Doğrulama) --- */
.changeverify {
    display: flex;
    justify-content: space-between;
    /* İki butonu yana yasla */
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

#change-btn,
#verify-btn {
    flex: 1;
    /* Eşit genişlikte olsunlar */
    padding: 10px;
    font-size: 0.9rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

#change-btn:hover,
#verify-btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

/* Onaylanmış hesap etiketi */
.changeverify p {
    flex: 1;
    text-align: center;
    background-color: var(--success-bg);
    color: var(--success-text);
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 600;
    margin: 0;
}

/* --- Bildirim Mesajları --- */
#result {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.3s;
}

.successTrue {
    display: block;
    padding: 1rem;
    background-color: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #c3e6cb;
    opacity: 1 !important;
}

.successFalse {
    display: block;
    padding: 1rem;
    background-color: var(--error-bg);
    color: var(--error-text);
    border: 1px solid #f5c6cb;
    opacity: 1 !important;
}

.error {
    color: var(--error-text);
    font-size: 0.85rem;
    margin-top: -0.5rem;
    min-height: 1.2em;
    /* Hata yokken zıplamayı önler */
}

/* Toast Konteynırı - Ekranın sağ üstünde sabit */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    min-width: 280px;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 10px;
    color: white;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    /* Animasyonlar */
    animation: toastIn 0.5s ease forwards, toastOut 0.5s ease 3.5s forwards;
}

.toast.error {
    background: #ff4757;
    border-left: 6px solid #ff1f36;
}

.toast.success {
    background: #2ed573;
    border-left: 6px solid #26af5c;
}

.toast.info {
    background: #1e90ff;
    border-left: 6px solid #0076e4;
}

@keyframes toastIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Favorites */


.head {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}

.head>img {
    max-width: 32px;
}

.item-container {
    position: relative;
}

.delfav {
    position: absolute;
    top: 10;
    right: 10;
}

/* ADD ADDRESS */
.add-address {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

#textare {
    display: inline-block;
    grid-column: 1 / 3;
}

#textare:focus,
input:focus,
option:focus {
    outline: none;
}

label {
    font-weight: 900;
}

#detailText {
    grid-column: 1 / 3;
}

#new-address {
    margin-bottom: 1rem;
}

.info {
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.left i {
    background-color: var(--pink1);
    padding: 0 0.4rem;
}

#onlytr {
    background-color: var(--pink1);
    border: 1px solid var(--pink1);
}

/* ticket page */

.event-card {
    margin-bottom: 24px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.clickable-area {
    cursor: pointer;
    position: relative;
    border-radius: 1rem;
}

.event-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
}

/* Event header altına banner */
.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #222;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    user-select: none;
}

.event-name {
    flex-grow: 1;
}

.toggle-icon {
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
    margin-left: 12px;
}

.ticket-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
    /* Yatay padding sabit */
    background-color: #fff;
}

.ticket-list.show {
    max-height: 2000px;
    /* Yeterince büyük bir değer ver */
    padding-top: 20px;
    padding-bottom: 20px;
}

.ticket-item {
    margin-bottom: 32px;
    text-align: center;
}

.qr-container canvas {
    width: 200px;
    height: 200px;
    margin-bottom: 12px;
}

.ticket-info {
    font-size: 1rem;
    color: #333;
}

/* Media Queries */

/*TABLET*/
@media screen and (min-width:745px) {
    .links a {
        width: 90%;
    }

    .main-container {
        flex-direction: row;
    }

    .right img {
        max-width: 50vw;
    }

    .rp video {
        max-width: 50vw;
        min-width: 680px;
    }

    .orderMainContainer {
        width: 50vw;
    }

}



/*COMP*/
@media screen and (min-width:992px) {
    .links a {
        min-width: 50%;
    }

    .item a {
        max-width: 10%;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .event-card {
        align-self: center;
        width: 50vw;
    }

    .formContainer {
        margin: auto;
    }

}

/* ============================================
   DEĞERLENDIRME SİSTEMİ STİLLERİ
   ============================================ */

/* Değerlendir Butonu */
.review-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--emph);
    color: var(--blackdark);
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.review-btn:hover {
    background-color: color-mix(in srgb, var(--emph), black 10%);
}

.review-btn:active {
    transform: translateY(0);
}

/* Değerlendirmeyi Gör Butonu */
.review-view-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #e8f4f8;
    color: #2c5f7a;
    border: 1px solid #b8d4e0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.review-view-btn:hover {
    background-color: #d4e9f2;
    border-color: #9cc4d4;
}

.review-view-btn:active {
    transform: translateY(0);
}

/* Modal Overlay */

/* Modal Overlay */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Content (Mobile First) */
.review-modal-content {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    position: fixed;
    bottom: 0;
    padding: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    animation: slideUpMobile 0.3s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scrollbar Styling - KEEPING var(--emph) AS REQUESTED */
.review-modal-content::-webkit-scrollbar {
    width: 8px;
}

.review-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.review-modal-content::-webkit-scrollbar-thumb {
    background: var(--emph);
    border-radius: 10px;
}

.review-modal-content::-webkit-scrollbar-thumb:hover {
    background: #c44569;
}

/* Close Button */
.review-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f1f1;
    transition: all 0.2s ease;
}

.review-close:hover {
    background: #e0e0e0;
    color: var(--text-dark);
}

/* Product Info Section */
.review-product-info {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.review-product-info img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.review-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.review-product-details h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3436;
    font-weight: 700;
}

.review-product-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #636e72;
    font-weight: 500;
}

/* Form Sections */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-rating-section,
.review-comment-section,
.review-photo-section,
.review-body-info-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Body Info Inputs */
.body-info-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #636e72;
}

.input-group input[type="number"] {
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.review-form label {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2.222rem;
    justify-content: center;
}

.star {
    cursor: pointer;
    color: #dfe6e9;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.star:hover,
.star.hover {
    color: #ffd700;
    transform: scale(1.15);
}

.star.selected {
    color: #f1c40f;
    text-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
}

/* Comment Textarea */
#reviewComment {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: none;
    transition: all 0.3s ease;
}

#reviewComment:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

/* Photo Upload Button */
.photo-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f1f1f1;
    color: #333;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.photo-upload-btn:hover {
    background-color: #e0e0e0;
}

/* Submit Button */
.submit-review-btn {
    background-color: var(--text-dark);
    color: white;
    padding: 1.1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    width: 100%;
}

.submit-review-btn:hover {
    background-color: #000;
}

/* Desktop Styles */
@media screen and (min-width: 800px) {
    .review-modal-content {
        position: relative;
        bottom: auto;
        border-radius: 32px;
        width: 100%;
        max-width: 1000px;
        /* Biraz daha geniş bir alan */
        padding: 0;
        box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
        animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 2rem auto;
        display: flex;
        overflow: hidden;
        background: #fff;
    }

    /* Sol Sütun: Ürün ve Puan */
    .review-product-info {
        flex: 0 0 380px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4rem;
        background: linear-gradient(145deg, #fdfdfd 0%, #f1f1f1 100%);
        border: none;
        border-right: 1px solid #e5e5e5;
        border-radius: 0;
        margin-bottom: 0;
        text-align: center;
    }

    .review-product-info img {
        width: 220px;
        height: 275px;
        border-radius: 24px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
        margin-bottom: 2.5rem;
        object-fit: cover;
    }

    .review-product-details h3 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
        color: #1a1a1a;
        font-weight: 850;
    }

    .review-product-details p {
        font-size: 1rem;
        color: #666;
        margin: 0.5rem 0;
        font-weight: 500;
    }

    /* Sağ Sütun: Form Alanı */
    .review-form {
        flex: 1;
        padding: 4rem;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        max-height: 85vh;
        overflow-y: auto;
        background: #fff;
    }

    .review-form label {
        font-size: 1.1rem;
        color: #1a1a1a;
        margin-bottom: 0.5rem;
    }

    /* Yıldızların masaüstünde hizalanması */
    .star-rating {
        font-size: 3.2rem;
        gap: 1.25rem;
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    /* İki yan sütun (Fiziksel bilgiler) */
    .body-info-inputs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    #reviewComment {
        min-height: 160px;
        padding: 1.25rem;
        font-size: 1.05rem;
        border: 2px solid #edeff2;
        background: #fcfcfc;
    }

    #reviewComment:focus {
        background: #fff;
    }

    .photo-upload-btn,
    .submit-review-btn {
        width: 100%;
        padding: 1.25rem;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        border-radius: 16px;
    }

    .submit-review-btn {
        margin-top: 1.5rem;
        background: #000;
    }

    .submit-review-btn:hover {
        background: #222;
        transform: translateY(-2px);
    }

    /* Scrollbar iyileştirmesi */
    .review-form::-webkit-scrollbar {
        width: 8px;
    }

    .review-form::-webkit-scrollbar-track {
        background: #f9f9f9;
    }

    .review-form::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
        border: 2px solid #f9f9f9;
    }
}

/* Önizleme ve Fotoğraf Stilleri */
.photo-preview {
    margin-top: 1.5rem;
    display: none;
    text-align: center;
    width: 100%;
}

.preview-image-container {
    position: relative;
    display: inline-block;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    max-width: 100%;
    min-height: 100px;
    /* Ensure visibility */
}

.preview-image-container img {
    max-width: 100%;
    max-height: 400px;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    width: auto;
    /* Allow auto width based on height */
}

/* Desktop Fix for Preview */
@media screen and (min-width: 800px) {
    .photo-preview {
        text-align: left;
        /* Align left on desktop */
    }

    .preview-image-container {
        display: block;
        /* Full width on desktop or block level */
        width: fit-content;
    }
}

.remove-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 77, 77, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.remove-photo:hover {
    background: #ff1f1f;
    transform: scale(1.1) rotate(90deg);
}

.review-modal-content textarea:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}