@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 3px solid #FF6600;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: block;
}

.company-name h1 {
    margin: 0;
    margin-top: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: .8;
    letter-spacing: 1px;
}

.tagline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-content {
    text-align: right;
}

.header-content h2 {
    margin: 0 0 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    color: #1a1a1a;
}

h1,
h2 {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    font-weight: 600;
}

h3,
h4,
h5,
h6 {
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
}

.header-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.main-content {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.config-panel {
    flex: 1;
    min-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.preview-panel {
    flex: 1;
    min-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

select,
input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

select:focus,
input:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.configure-btn {
    width: 100%;
    color: #fff;
    padding: 14px 24px;
    transition: all 0.2s ease;
    border-radius: 6px;
    background-color: #FF6600;
    font-family: 'Inter', sans-serif;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.configure-btn:hover {
    background-color: #e55a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.configure-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.door-preview {
    width: 100%;
    height: 300px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin-bottom: 20px;
}

.door-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.door-preview.empty {
    color: #666;
}

.results-section {
    background: white;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 25px;
    display: none;
    width: 100%;
}

.loading {
    display: none;
    text-align: center;
    padding: 30px;
    color: #666;
}

.results {
    display: none;
}

.delivery-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-price {
    font-weight: 700;
    color: #FF6600;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.weather-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.weather-content {
    flex: 1;
}

.weather-section h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

.order-btn {
    width: 250px;
    margin: 0;
    background-color: #FF6600;
    padding: 14px 24px;
    border-radius: 6px;
    color: #fff;
    display: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.order-btn:hover {
    background-color: #e55a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.success-message {
    margin-top: 20px;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    display: none;
}

.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.typing-text {
    overflow: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .config-panel,
    .preview-panel {
        min-width: auto;
    }

    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-content {
        text-align: center;
    }

    .company-name h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 15px;
    }

    .weather-section {

        display: block;

    }

    .order-btn {
        margin: 20px auto;
    }
}