/* Custom styles for skin analysis app */
:root {
    --primary-blue: #1e88e5;
    --light-blue: #e3f2fd;
    --dark-blue: #1565c0;
    --white: #ffffff;
    --text-dark: #2c3e50;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
}

.hero-section {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    background-color: var(--light-blue);
}

.action-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    margin: 0.5rem;
    min-width: 250px;
    margin-top: 1rem;
}

.privacy-notice {
    background-color: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
    padding: 0.75rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.card {
    border-color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    background-color: var(--white);
    color: var(--text-dark);
}

.card ul {
    text-align: left;
    padding-left: 20px;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Image preview container */
.image-preview-container {
    max-width: 100%;
    margin: 1rem auto;
    text-align: center;
}

#imagePreview {
    max-width: 100%;
    max-height: 50vh;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Analysis results styles */
.analysis-result-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--white);
}

.result-label {
    font-weight: bold;
    margin-right: 8px;
    color: var(--text-dark);
}

.result-value {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Product recommendation cards */
.product-card {
    border-radius: 10px;
    transition: transform 0.3s ease;
    height: 100%;
    background-color: var(--white);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img-container {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img {
    max-height: 160px;
    max-width: 100%;
    object-fit: contain;
}

.product-price {
    font-weight: bold;
    color: var(--primary-blue);
}

/* Steps indicator */
.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.step.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.step-label {
    position: absolute;
    top: 45px;
    white-space: nowrap;
    font-size: 0.9rem;
    color: #666;
}

.step.active .step-label {
    color: var(--primary-blue);
    font-weight: bold;
}

/* Add connecting lines between steps */
.steps-container::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: #e0e0e0;
    top: 20px;
    z-index: 1;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#cameraFeed, #captureCanvas {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    max-height: 70vh;
    object-fit: cover;
}