* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #121240;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.logo-text {
    font-weight: bold;
    font-size: 20px;
}

.main-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #666;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.help-link {
    font-size: 14px;
    color: #666;
}

.signin-btn {
    background: #121240;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.signin-btn:hover {
    background: #333;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 24px 0 48px;
}

.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin: 32px 0;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0;
    gap: 8px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
}

.step.active .step-number {
    background: #121240;
    color: white;
}

.step-label {
    font-size: 14px;
    white-space: nowrap;
}

.step-line {
    width: 48px;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
}

/* Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

/* Tab Navigation */
.tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 32px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Styles */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.date-input {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 8px 0;
}

/* Radio Groups */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-group input[type="radio"] {
    width: 16px;
    height: 16px;
}

.radio-group label {
    font-size: 14px;
    font-weight: normal;
}

/* Upload Area */
.upload-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.upload-area:hover {
    border-color: #9ca3af;
}

.upload-icon {
    font-size: 40px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.upload-text {
    font-weight: 500;
    margin-bottom: 4px;
}

.upload-or {
    color: #666;
    font-size: 12px;
    margin-bottom: 16px;
}

.upload-note {
    color: #666;
    font-size: 12px;
    margin-top: 8px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: #121240;
    color: white;
}

.btn-primary:hover {
    background: #123E7D;
}

.btn-outline {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
}

.btn-full {
    width: 100%;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

/* Order Summary */
.summary-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 88px;
}

.summary-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-item.discount span:last-child {
    color: #ef4444;
}

.summary-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 8px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 16px;
}

.payment-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 8px;
}

/* Footer */
.footer {
    background: black;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin: 16px 0;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    background: white;
    color: #121240;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icons a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

.payment-methods {
    display: flex;
    gap: 8px;
}

.payment-icon {
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .step-line {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .form-card {
        padding: 16px;
    }
    
    .radio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
}