/* MyOutfitPlanner Styles - Exact Match to Screenshot */
.outfit-planner-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    padding: 0 15px;
}

/* Two-column layout */
.outfit-planner-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0;
}

.outfit-planner-column {
    flex: 1;
    min-width: 300px;
}

/* Left column - Intro */
.intro-section {
    padding-right: 20px;
}

.outfit-planner-title {
    font-size: 42px;
    color: #6a36c2;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    line-height: 1.2;
}

.outfit-planner-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 200px;
    height: 4px;
    background-color: #e2d5f8;
    border-radius: 2px;
}

.outfit-planner-description {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
}

.how-it-works {
    margin-top: 40px;
}

.how-it-works h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #6a36c2;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Right column - Form */
.outfit-form-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-header {
    background-color: #6a36c2;
    color: white;
    padding: 25px 30px;
}

.form-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.form-header p {
    margin: 8px 0 0;
    opacity: 0.9;
    font-size: 16px;
}

.outfit-form {
    padding: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #6a36c2;
    box-shadow: 0 0 0 2px rgba(106, 54, 194, 0.1);
}

/* Radio and checkbox styles */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 5px;
}

.option-item {
    position: relative;
}

.option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.option-item label {
    display: block;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s;
    margin: 0;
    font-size: 14px;
}

.option-item input[type="radio"]:checked + label {
    background-color: #f0e6ff;
    border-color: #6a36c2;
    color: #6a36c2;
}

.option-item:hover label {
    border-color: #ccc;
}

/* Color preferences */
.color-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.color-option label {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-weight: normal;
}

.color-option label:hover {
    background-color: #f5f5f5;
}

.color-checkbox {
    margin-right: 8px;
}

/* Submit button */
.submit-button {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #6a36c2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background-color: #5a2eb2;
}

.submit-button:disabled {
    background-color: #b195e4;
    cursor: not-allowed;
}

/* Advanced options toggle */
.advanced-options-toggle {
    text-align: center;
    margin: 15px 0;
}

.toggle-button {
    background: none;
    border: none;
    color: #6a36c2;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.toggle-button:hover {
    text-decoration: underline;
}

.toggle-button svg {
    margin-left: 5px;
    transition: transform 0.2s;
}

.toggle-button.expanded svg {
    transform: rotate(180deg);
}

.advanced-options {
    display: none;
}

.advanced-options.show {
    display: block;
}

.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Recommendations section */
.outfit-recommendations {
    width: 100%;
    margin-top: 50px;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h2 {
    font-size: 28px;
    color: #6a36c2;
    margin-bottom: 10px;
}

.outfit-description {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.recommendation-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.item-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.placeholder-image {
    height: 220px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.item-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(106, 54, 194, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.item-details {
    padding: 20px;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.shop-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6a36c2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.shop-link:hover {
    background-color: #5a2eb2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .outfit-planner-columns {
        gap: 20px;
    }
    
    .outfit-planner-title {
        font-size: 32px;
    }

    .form-header {
        padding: 20px;
    }
    
    .outfit-form {
        padding: 20px;
    }
    
    .options-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .recommendation-items {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}