/* Compact Modern Design - One Screen Layout */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #000000;
    --color-secondary: #666666;
    --color-accent: #0066FF;
    --color-success: #00C853;
    --color-error: #FF3D00;
    --color-border: #E5E7EB;
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F9FAFB;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #FFFBF5 0%, #FFF4E6 100%);
    color: var(--color-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Process Guide */
.process-guide {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(255, 251, 245, 0.98), rgba(255, 251, 245, 0.85));
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.process-step:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 167, 38, 0.3);
    flex-shrink: 0;
}

.process-step span:not(.process-number) {
    color: rgba(0, 0, 0, 0.75);
    font-size: 13px;
    font-weight: 600;
}

.process-arrow {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.25);
}

.container {
    max-width: 960px;
    width: 100%;
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Header */
header {
    padding: 24px 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

header h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.subtitle {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 400;
}

/* Floating Order Lookup */
.floating-lookup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.floating-lookup-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(102, 102, 102, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-lookup-btn:hover {
    background: rgba(102, 102, 102, 0.25);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-lookup-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.panel-header span {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.panel-close {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--color-secondary);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.panel-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

.panel-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-body input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.panel-body input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

.btn-lookup-small {
    padding: 10px 16px;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-lookup-small:hover {
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-lookup-small:active {
    transform: scale(0.98);
}

@media (max-width: 640px) {
    .floating-lookup {
        bottom: 16px;
        right: 16px;
    }

    .floating-lookup-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .floating-lookup-panel {
        width: 260px;
        bottom: 60px;
    }
}

/* Main Content - Two Column Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
}

.config-column h2,
.upload-column h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.config-column {
    padding-right: 12px;
    border-right: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 13px;
}

/* Option List - Compact */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item input[type="radio"] {
    display: none;
}

.option-item label {
    display: block;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--color-bg);
}

.option-item label:hover {
    border-color: var(--color-primary);
}

.option-item input[type="radio"]:checked + label {
    border-color: var(--color-primary);
    background: var(--color-bg-secondary);
}

.option-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
}

.required {
    color: #E65100;
}

.char-counter {
    margin-top: 6px;
    font-size: 11px;
    color: var(--color-secondary);
    text-align: right;
}

/* Textarea - Compact */
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.15s ease;
    resize: vertical;
    background: var(--color-bg);
    min-height: 60px;
}

textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea::placeholder {
    color: #9CA3AF;
}

/* Submit Section */
.submit-section {
    padding: 20px 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.btn-large {
    width: 100%;
    max-width: 360px;
    padding: 14px 32px;
    font-size: 15px;
    margin: 0 auto;
    display: block;
}

.submit-hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-secondary);
}

.submit-hint.ready {
    color: #2E7D32;
    font-weight: 500;
}

.submit-hint.pending {
    color: #E65100;
}

/* Buttons - Compact */
.btn-primary {
    padding: 12px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: var(--color-bg);
    color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

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

/* Footer - Compact */
footer {
    padding: 16px 24px;
    text-align: center;
    color: var(--color-secondary);
    font-size: 11px;
    border-top: 1px solid var(--color-border);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
    margin-left: 6px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Step Indicator */
.step-indicator {
    display: none;
    padding: 16px 24px;
    background: rgba(255, 152, 0, 0.05);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.step-indicator.active {
    display: block;
}

.step-text {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 70px 16px 16px;
    }

    .process-guide {
        padding: 12px 16px;
        gap: 8px;
    }

    .process-step {
        padding: 6px 12px;
        gap: 8px;
    }

    .process-step span:not(.process-number) {
        font-size: 12px;
    }

    .process-number {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .process-arrow {
        font-size: 14px;
    }

    .container {
        max-width: 100%;
    }

    header {
        padding: 20px 20px 16px;
    }

    header h1 {
        font-size: 20px;
    }

    /* Mobile: Single Column Layout */
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .config-column {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 20px;
    }

    .submit-section {
        padding: 16px 20px;
    }

    .submit-hint {
        font-size: 11px;
    }

    footer {
        padding: 14px 20px;
    }

    .image-crop-modal-content {
        height: 95vh;
        max-height: 95vh;
    }

    .cropper-container-wrapper {
        padding: 10px;
        min-height: 150px;
    }

    .btn-confirm-crop {
        width: 100%;
        min-width: unset;
        padding: 12px 24px;
    }

    .modal-close-btn {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    .image-navigation {
        padding: 10px 16px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .image-counter {
        font-size: 12px;
        min-width: 60px;
    }
}

@media (max-height: 800px) {
    header {
        padding: 20px 24px 16px;
    }

    header h1 {
        font-size: 20px;
    }

    .config-section {
        padding: 20px 24px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .count-box {
        padding: 14px;
    }

    .count-number {
        font-size: 24px;
    }

    textarea {
        min-height: 50px;
    }

    footer {
        padding: 14px 24px;
    }

    .image-crop-modal-content {
        height: 95vh;
        max-height: 95vh;
    }

    .cropper-container-wrapper {
        min-height: 150px;
        padding: 10px;
    }

    .cropper-tools {
        padding: 8px 16px;
        gap: 8px;
    }

    .btn-tool {
        padding: 6px 10px;
        font-size: 12px;
    }

    .btn-tool .tool-icon {
        font-size: 16px;
    }

    .btn-tool .tool-label {
        font-size: 11px;
    }

    .cropper-actions {
        padding: 12px 16px;
    }
}

/* Image Cropper Modal */
.image-crop-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 10px;
}

.image-crop-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    height: 95vh;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--color-secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
}

.cropper-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    flex-shrink: 0;
}

.cropper-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--color-primary);
}

.cropper-header p {
    font-size: 12px;
    color: var(--color-secondary);
    margin: 0;
}

.cropper-container-wrapper {
    padding: 12px;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    min-height: 200px;
}

.cropper-container-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Override Cropper.js styles for better visibility */
.cropper-container .cropper-modal {
    background-color: rgba(0, 0, 0, 0.85) !important;
}

.cropper-container .cropper-bg {
    background-image: none !important;
}

/* Enhanced Crop Box Border */
.cropper-container .cropper-view-box {
    outline: 3px solid rgba(255, 255, 255, 0.9) !important;
    outline-offset: -3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.cropper-container .cropper-crop-box {
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Red Horizontal Dashed Line (Cut Line) */
.cropper-container .cropper-crop-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0;
    border-top: 3px dashed #FF0000;
    transform: translateY(-50%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.cropper-tools {
    padding: 12px 16px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: #fafafa;
    flex-shrink: 0;
}

.btn-tool {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: auto;
}

.btn-tool .tool-icon {
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-tool .tool-label {
    font-size: 12px;
    font-weight: 500;
}

.btn-tool:hover {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    color: #1f2937;
}

.btn-tool:active {
    transform: translateY(0);
    background: #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Delayed Upload Checkbox */
.delayed-upload-option {
    margin-top: 24px;
    padding: 16px 18px;
    background: #fffbeb;
    border: 2px dashed #fbbf24;
    border-radius: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #f59e0b;
    border-radius: 6px;
    background: white;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    border-color: #d97706;
    background: #fef3c7;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background: #f59e0b;
    border-color: #f59e0b;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.checkbox-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-label strong {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.checkbox-label small {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.4;
}

.cropper-actions {
    padding: 14px 16px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.btn-confirm-crop {
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 600;
    min-width: 160px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-confirm-crop:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-confirm-crop:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Image navigation */
.image-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
    flex-shrink: 0;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.nav-btn:active:not(:disabled) {
    transform: translateY(0);
    background: #f3f4f6;
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #f3f4f6;
}

.image-counter {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Custom Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    max-width: 400px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: var(--color-success);
}

.toast.error {
    border-left-color: var(--color-error);
}

.toast.warning {
    border-left-color: #FF9800;
}

.toast.info {
    border-left-color: var(--color-accent);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.4;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease forwards;
}

/* Custom Confirm Dialog */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.custom-confirm-dialog {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.2s ease;
}

.custom-confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.custom-confirm-message {
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.custom-confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.custom-confirm-buttons button {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.custom-confirm-buttons .btn-cancel {
    background: var(--color-bg-secondary);
    color: var(--color-secondary);
}

.custom-confirm-buttons .btn-cancel:hover {
    background: #E5E7EB;
}

.custom-confirm-buttons .btn-confirm {
    background: var(--color-error);
    color: white;
}

.custom-confirm-buttons .btn-confirm:hover {
    background: #E53935;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    .custom-confirm-dialog {
        max-width: 90%;
        padding: 20px;
    }
}
