/* Print Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 28px;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.print-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.print-option {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.print-option:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.print-option h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.preview-box {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-card {
    width: 120px;
    height: 168px;
    border: 1px solid #999;
    border-radius: 4px;
    background: white;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.preview-card.with-image {
    justify-content: flex-start;
    gap: 0;
}

.preview-image {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    margin-bottom: 4px;
    background-size: cover;
    background-position: center;
}

.preview-text {
    text-align: center;
    font-weight: bold;
    margin-top: auto;
    line-height: 1.4;
}

.preview-card.no-image {
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.preview-text-full {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.preview-name {
    font-weight: bold;
    font-size: 11px;
}

.preview-variant {
    background: white;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 9px;
}

.option-btn {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.option-btn:hover {
    background-color: #45a049;
}

.modal-close {
    width: 100%;
    padding: 12px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #da190b;
}

@media print {
    .modal {
        display: none !important;
    }
}
