:root {
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(148, 163, 184, 0.1);
    --primary-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.work-area {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.step-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(168, 85, 247, 0.3);
}

.step-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.drop-zone {
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    padding: 4rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 2rem;
}

.drop-zone:hover {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.05);
    transform: scale(1.01);
}

.cropper-wrapper {
    max-height: 600px;
    background: #0f172a;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Input & Select Styling */
select,
input[type="text"],
input[type="password"] {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f8fafc;
    padding: 10px 16px;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    transition: all 0.2s;
}

select:focus,
input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

/* Buttons matching main theme */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    color: white;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid #475569;
    color: #ccc;
}

.btn-outline:hover {
    border-color: #94a3b8;
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-warning {
    background: #eab308;
    color: #000;
}

.btn-warning:hover {
    background: #facc15;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
}

#password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    /* Darker backdrop */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1e293b;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
}

/* Controls Bar */
.controls-bar {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.control-group label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}