
:root {
    --secondary-dark: #c0392b; /* Добавляем отсутствующий цвет */
}

.order-drawing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    background: linear-gradient(90deg,
    #ff0000,  /* Красный */
    #0000ff,  /* Синий */
    #3498db,  /* Голубой */
    #1a252f,  /* Темно-синий */
    #3498db,  /* Голубой */
    #0000ff,  /* Синий */
    #ff0000   /* Красный */
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 00% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 00% 50%; }
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}
.back-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.back-button i {
    margin-right: 8px;
    transition: transform 0.3s;
}

.back-button:hover i {
    transform: translateX(-5px);
}

.photo-upload-section {
    margin: 30px 0;
}

.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.photo-upload-item {
    border: 2px dashed var(--gray);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photo-upload-item:hover {
    border-color: var(--primary);
}

.photo-upload-item i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.photo-upload-item p {
    margin: 0;
    color: var(--dark);
}

.photo-preview {
    max-width: 100%;
    max-height: 160px;
    display: none;
}

.btn-upload {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    display: inline-block;
    margin-top: 10px;
}

.file-input {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background: var(--secondary-dark);
}

.requirements {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.requirements h3 {
    margin-top: 0;
    color: var(--primary);
}

.progress-steps {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 30%;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.step.active .step-number {
    background: var(--primary);
}

.step-text {
    font-size: 14px;
    color: var(--dark-gray);
}

.step.active .step-text {
    color: var(--dark);
    font-weight: 500;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
}

.address-map {
    height: 300px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

.summary-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray);
}







.order-drawing-page {
    background-color: var(--primary-light);
    padding: 40px 0;
    color: var(--text-primary);
}
:root {
    --secondary-dark: #c0392b; /* Добавляем отсутствующий цвет */
}
.hero-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(90deg,
    #ff0000,  /* Красный */
    #0000ff,  /* Синий */
    #3498db,  /* Голубой */
    #1a252f,  /* Темно-синий */
    #3498db,  /* Голубой */
    #0000ff,  /* Синий */
    #ff0000   /* Красный */
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 8s ease infinite;
}
.order-drawing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.order-drawing-container h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
}

.order-drawing-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.order-drawing-container p {
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.back-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.back-button i {
    margin-right: 8px;
    transition: transform 0.3s;
}

.back-button:hover {
    color: var(--secondary);
}

.back-button:hover i {
    transform: translateX(-5px);
}

.upload-area {
    border: 2px dashed var(--gray);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin: 30px 0;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.05);
}

.upload-area:hover {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.upload-area i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 15px;
}

.upload-area h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.upload-area p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.btn-upload {
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    display: inline-block;
    font-weight: 500;
    transition: var(--transition);
}

.btn-upload:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.file-info {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    align-items: center;
    gap: 15px;
}

.file-info i {
    font-size: 24px;
    color: var(--accent);
}

.file-info span {
    flex: 1;
}

#removeFile {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

#removeFile:hover {
    transform: scale(1.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    background-color: var(--light-gray);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-weight: 600;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.requirements {
    margin-top: 40px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.requirements h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--accent);
}

.requirements ul {
    padding-left: 20px;
}

.requirements li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .order-drawing-container {
        padding: 30px 20px;
    }

    .upload-area {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .order-drawing-container {
        padding: 25px 15px;
    }

    .order-drawing-container h1 {
        font-size: 1.8rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
    }
}