/* =========================================
   ENHANCED ORDER MODAL STYLES
   ========================================= */

/* Order Modal Specifics */
#order-modal .modal-content {
    max-width: 600px;
    padding: 0;
    background: linear-gradient(135deg, rgba(10, 10, 25, 0.98) 0%, rgba(20, 10, 30, 0.98) 100%);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    overflow: hidden;
    position: relative;
}

/* Header & Title */
#order-modal .form-title {
    padding: 2rem 2rem 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(188, 19, 254, 0.05) 100%);
    border-bottom: 1px solid var(--border-glass);
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    transform: scale(1.1);
}

.step.active .step-label {
    color: var(--neon-blue);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    margin-bottom: 1.2rem;
    /* Align with circles */
    position: relative;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--neon-blue);
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Active line state handled by JS usually, but here's a default filled state for demo */
.step.active+.step-line::after {
    width: 100%;
}

/* Form Styling */
#order-form {
    padding: 0 2.5rem 2.5rem;
}

#order-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

#order-form label {
    color: var(--neon-blue);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#order-form input,
#order-form select,
#order-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

#order-form input:focus,
#order-form select:focus,
#order-form textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    background: rgba(0, 243, 255, 0.05);
}

/* Dropdown Visibility Fix */
#order-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

#order-form select option {
    background-color: #0a0a19;
    /* Dark background for options */
    color: #fff;
    /* White text */
    padding: 10px;
}

/* Readonly Input Styling */
#order-form input[readonly] {
    background: rgba(188, 19, 254, 0.1);
    border-color: rgba(188, 19, 254, 0.3);
    color: var(--neon-purple);
    font-weight: 600;
    cursor: not-allowed;
}

/* Place Order Button */
#order-form .btn-submit {
    margin-top: 2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 12px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#order-form .btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

#order-form .btn-submit:hover::before {
    transform: translateX(100%);
}

#order-form .btn-submit:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
    transform: translateY(-3px);
}

#order-form .btn-submit i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#order-form .btn-submit:hover i {
    transform: translateX(5px);
}