:root {
    --primary-color: #6e108d;
    --primary-hover: #8b1aa8;
    --secondary-color: #f3f6f7;
    --text-color: #2c3e50;
    --border-color: #e0e6ed;
}

body {
    color: var(--text-color);
    background-color: #f8fafc;
}

/* Blok Stilleri */
.blocks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.block-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.block-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.block-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.block-price {
    font-size: 1.1rem;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 10px;
}

.block-seats {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Kart Stilleri */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
}

.card-header h5, .card-header h6 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.btn-primary:disabled {
    background: var(--primary-color);
    border-color: var(--primary-color);
    opacity: 0.6;
}

/* Modal ve Koltuk Seçimi Stilleri */
.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.block-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.block-box:hover:not([data-disabled="true"]) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.block-box[data-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.block-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Sahne */
.stage {
    width: 100%;
    height: 60px;
    background: #eee;
    border-radius: 100px 100px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.stage-label {
    font-weight: bold;
    color: #666;
    letter-spacing: 2px;
}

/* Koltuk Grid */
.seating-plan {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.seats {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.seat-wrapper {
    display: grid;
    grid-auto-flow: column;
    gap: 6px;
    align-items: center;
}

.row-label {
    width: 30px;
    text-align: center;
    font-weight: bold;
    color: #6c757d;
}

.seat {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 2px;
}

.seat.available {
    background: #28a745;
    color: white;
}

.seat.available:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.seat.selected {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.seat.reserved {
    background: #dc3545;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat.sold {
    background: #6c757d;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat.placeholder {
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: default;
    width: 25px;
    height: 25px;
    pointer-events: none;
}

/* Seçili Koltuklar */
.selected-seats {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.selected-seats h6 {
    margin-bottom: 1rem;
    color: #333;
}

.selected-seats-list {
    margin-bottom: 1rem;
    min-height: 100px;
    max-height: 200px;
    overflow-y: auto;
}

.selected-seat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: white;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.selected-seat-item:last-child {
    border-bottom: none;
}

.total-price {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: bold;
    color: #28a745;
}

/* Modal Stilleri */
.modal-xl {
    max-width: 1000px;
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}
