/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #000000);
    min-height: 100vh;
    color: #ffffff;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.header p {
    color: #999999;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 68, 68, 0.2);
    z-index: 0;
}

.progress-fill {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: #ff0000;
    transition: width 0.3s;
    z-index: 1;
    width: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid rgba(255, 68, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: #ff0000;
    border-color: #ff0000;
}

.step.completed .step-circle {
    background: #25f704;
    border-color: #25f704;
}

.step-label {
    font-size: 0.85rem;
    color: #999999;
}

.step.active .step-label {
    color: #ff0000;
}

/* Form Sections */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.form-section h2 {
    margin-bottom: 20px;
    color: #ffffff;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.required {
    color: #ff0000;
}

/* Input Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ff0000;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

select {
    cursor: pointer;
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ff0000;
}

/* Checkbox Groups */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ff0000;
}

/* File Upload */
.file-upload {
    border: 2px dashed rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Image Preview Grid */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 68, 68, 0.2);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.remove-image:hover {
    background: rgba(200, 0, 0, 1);
}

/* Buttons */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Info Box */
.info-box {
    background: rgba(37, 247, 4, 0.1);
    border-left: 4px solid #25f704;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    color: #cccccc;
}

/* Error Messages */
.error-message {
    color: #ff0000;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

/* Device Specific Fields */
.laptop-only {
    display: none;
}

/* Summary Section */
.summary-section {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-section h3 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.summary-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 68, 68, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #999999;
    font-weight: 500;
}

.summary-value {
    color: #ffffff;
}

.summary-value.highlight {
    color: #25f704;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .progress-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .button-group {
        flex-direction: column;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .image-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .summary-item {
        grid-template-columns: 1fr;
    }

    .summary-label {
        font-weight: 600;
        color: #ff4444;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 1.75rem;
    }

    .form-section h2 {
        font-size: 1.5rem;
    }
}