/* General body and font styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

/* Hero section background with pattern */
.hero-bg {
    background-color: #111827;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 2rem 2rem;
}

/* Multi-step form styles */
.form-step {
    display: none;
}
.form-step.active {
    display: block;
}

/* Progress bar step indicators */
.progress-step {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.progress-step.active {
    background-color: #4f46e5;
    color: white;
    border-color: #4f46e5;
}
.progress-step.completed {
    background-color: #16a34a;
    color: white;
    border-color: #16a34a;
}

/* Line connecting progress steps */
.progress-line {
    height: 2px;
    background-color: #d1d5db;
    flex-grow: 1;
    margin: 0 1rem;
}

/* Dropdown menu for user profile */
.dropdown-container {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    border-radius: .5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    min-width: 160px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s;
    padding: .5rem 0;
}
.dropdown-container:hover .dropdown-menu,
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: .75rem 1rem;
    color: #4B5563;
    text-decoration: none;
    transition: background-color .1s ease-in-out;
    font-weight: 500;
}
.dropdown-menu a:hover {
    background-color: #F3F4F6;
    color: #4F46E5;
}
.dropdown-menu a.logout-option {
    color: #EF4444;
}
.dropdown-menu a.logout-option:hover {
    background-color: #FEF2F2;
    color: #DC2626;
}

/* Category selection buttons */
.category-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.category-button:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}
.category-button.selected {
    background-color: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

/* Image preview styles */
.image-preview {
    position: relative;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.image-preview.selected {
    border-color: #4f46e5; /* Indigo border for selected image */
}
.image-preview .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(79, 70, 229, 0.5); /* Indigo overlay */
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}
.image-preview.selected .overlay {
    display: flex;
}

/* Review step image container */
.review-image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}
.review-image {
    position: relative;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    overflow: hidden;
}
.review-image.main {
    border-color: #4f46e5; /* Indigo border for the main image */
}
.review-image .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(79, 70, 229, 0.5); /* Indigo overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.review-image.main .overlay {
    opacity: 1;
}

/* Drag and drop area for image uploads */
.drag-drop-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.375rem;
    padding: 1.5rem;
    text-align: center;
    background-color: #f9fafb;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.drag-drop-area.dragover {
    background-color: #e0e7ff;
    border-color: #4f46e5;
}
.drag-drop-area p {
    color: #6b7280;
    font-size: 0.875rem;
}
