/* ============================================
   ORDER PAGE SPECIFIC STYLES
   ============================================ */

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

/* Root variables (shared with home.css) */
:root {
    --deep-red: #970000;
    --dark-red: #b80000;
    --light-red: #ff0235;
    --white: #d1d1d1;
    --dark-gray: #1F1F1F;
    --light-gray: #bebebe;
    --medium-black: #1d1d1d;
}

/* Base body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* ============================================
   TEXT SELECTION
   ============================================ */

::selection {
    background-color: var(--deep-red);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--deep-red);
    color: var(--white);
}

/* ============================================
   FORM ELEMENTS - GENERAL
   ============================================ */

input,
select,
textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    background-color: #2a2a2a;
    color: var(--white);
}

input,
select,
textarea {
    width: 100%;
}

/* Focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border: none;
    box-shadow: 0 0 0 3px rgba(151, 0, 0, 0.1);
}

/* Hover states */
input:hover,
select:hover,
textarea:hover {
    border-color: var(--deep-red);
}

/* ============================================
   FORM ELEMENTS - SPECIFIC
   ============================================ */

/* Select dropdown options */
select {
    background-color: #2a2a2a;
    color: var(--white);
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

select:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

select:hover {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

option {
    background-color: #2a2a2a;
    color: var(--white);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    border-width: 0 !important;
}

option:hover {
    background-color: var(--deep-red);
    color: var(--white);
    border: none !important;
    outline: none !important;
}

optgroup {
    border: none !important;
    outline: none !important;
}

/* Textarea */
textarea {
    resize: none;
}

/* Placeholders */
input::placeholder,
textarea::placeholder {
    color: #9b9b9b;
    opacity: 0.8;
}

/* Checkboxes and Radio buttons */
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    accent-color: var(--deep-red);
    outline: none;
    box-shadow: none;
    border: none;
}

/* ============================================
   BUTTONS
   ============================================ */

button {
    transition: all 0.3s ease;
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button:active:not(:disabled) {
    transform: scale(0.98);
}

/* ============================================
   FORMS
   ============================================ */

form {
    transition: box-shadow 0.3s ease;
}

form:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CONTENT SECTION
   ============================================ */

.content-section {
    background-color: #313131;
    padding: 60px 20px;
}

/* ============================================
   ORDER TABS
   ============================================ */

/* Tab Navigation */
.order-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    flex-wrap: wrap;
    justify-content: center;
}

/* Tab Content */
.order-tab-content {
    background: #1d1d1d;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.order-tab-content.active {
    display: block;
}

/* Tab Content Headings */
.order-tab-content h3 {
    color: var(--light-red);
    margin-bottom: 20px;
    font-size: 18px;
}

/* Tab Content Text */
.order-tab-content {
    color: var(--white);
}

/* Tab Content Labels */
.order-tab-content label {
    color: var(--white);
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

/* Tab Content Form Fields */
.order-tab-content input,
.order-tab-content select,
.order-tab-content textarea {
    margin-bottom: 15px;
}

.order-tab-content input[type="checkbox"],
.order-tab-content input[type="radio"] {
    width: auto;
    display: inline-block;
    margin-right: 8px;
}

/* Tab Content Buttons */
.order-tab-content button {
    padding: 14px 30px;
    background: var(--deep-red);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
}

.order-tab-content button:hover {
    background: var(--light-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(151, 0, 0, 0.3);
}

.order-tab-content button:active {
    transform: translateY(0);
}
/* ============================================
   CUSTOM DROPDOWN STYLES
   ============================================ */

.custom-dropdown {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dropdown-trigger {
    padding: 12px;
    background-color: #2a2a2a;
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
}

.dropdown-trigger::after {
    content: '▼';
    font-size: 10px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-trigger::after {
    transform: rotate(180deg);
}

.dropdown-trigger:hover {
    box-shadow: 0 0 0 3px rgba(151, 0, 0, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border-radius: 4px;
    margin-top: 4px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.custom-dropdown.active .dropdown-menu {
    max-height: 400px;
    opacity: 1;
}

.dropdown-option {
    padding: 12px;
    color: var(--white);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #1a1a1a;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: var(--deep-red);
    color: white;
}

.dropdown-option.selected {
    background-color: var(--deep-red);
    color: white;
    font-weight: bold;
}