body {
    background: #181818;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
}

.calendar-wrapper {
    display: flex;
    min-height: 100vh;
}

.controls-column {
    width: 340px;
    background: #181818;
    color: #fff;
    box-shadow: 2px 0 8px #e6510033;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.controls-group h2 {
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 1.8em;
}

.controls-group button,
.controls-group select {
    width: 100%;
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #ff9800 0%, #e65100 100%);
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
.controls-group button:hover, .modal-actions button:hover {
    background: linear-gradient(90deg, #e65100 0%, #ff9800 100%);
}
.controls-group select {
    padding: 8px 12px;
    font-size: 1em;
    background: #232323;
    color: #fff;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.control-row label {
    color: #fff;
}

.photo-upload-row {
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

.photo-drop-zone {
    width: 100%;
    min-height: 60px;
    background: #232323;
    color: #ff9800;
    border: 2px dashed #ff9800;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.photo-drop-zone.dragover {
    background: #ff980033;
}

.photo-list {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.photo-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ff9800;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.photo-list img.active,
.photo-list img.selected {
    border: 3px solid #e65100;
    box-shadow: 0 0 8px #ff9800;
}

.photo-list img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 8px #ff9800;
}

.elements-list, .cart-list {
    background: #232323;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px #ff980022;
}

.elements-list ul, .cart-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 160px;
    overflow-y: auto;
}

.elements-list li, .cart-list li {
    margin: 4px 0;
    padding: 4px 8px;
    background: #2d2d2d;
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.elements-list button {
    background: #363636;
    color: #ff9800;
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 4px;
    font-size: 1em;
    cursor: pointer;
}
.elements-list button:hover {
    background: #ff9800;
    color: #232323;
}

.cart-list img {
    width: 100px;
    height: auto;
    margin-right: 8px;
    border-radius: 6px;
    vertical-align: middle;
    border: 1px solid #ff9800;
}

.cart-list button {
    margin-left: 10px;
    background: #363636;
    color: #ff9800;
    border: none;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 1em;
    cursor: pointer;
}
.cart-list button:hover {
    background: #ff9800;
    color: #232323;
}

.canvas-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #181818;
    min-height: 100vh;
    width: 100%;
}

.calendar-preview {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
    min-height: 100vh;
}

canvas#calendarCanvas {
    background: #121212;
    border-radius: 16px;
    box-shadow: 0 2px 10px #ff980011;
    border: 2px solid #ff980088;
    cursor: move;
    display: block;
    margin: 0 auto;
}

.modal {
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: #000c;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-content {
    background: #232323;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 24px #ff980055;
    color: #fff;
    min-width: 300px;
}
.modal-actions {
    margin-top: 14px;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}
.form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
#orderDesignsList img {
    width: 80px;
    border-radius: 8px;
    border: 1px solid #ff9800;
}
#orderTotal {
    color: #e65100;
    font-size: 1.15em;
}