/* Development CSS - Extracted inline styles */

/* Chart animations from index.html */
.chart-area canvas {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.chart-area canvas.loaded {
  opacity: 1;
}

/* Profile picture styles from user.html */
#profile_pic {
  cursor: default;
  pointer-events: none;
}
label[for="profile_pic"] {
  width: 20%;
  cursor: pointer;
}
@media (max-width: 768px) {
  label[for="profile_pic"] {
    width: 33%;
  }
}

/* Drop area styles from analyzeupload.html */
#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}
#drop-area.highlight {
    border-color: purple;
}
#drop-area #preview img {
    max-width: 100%;
    max-height: 300px;
}

/* Container styles from analyzeupload.html */
.analyzeupload-container {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
}
.analyzeupload-item {
    flex: 1;
    text-align: center;
    padding: 10px;
}
.analyzeupload-item img {
    max-width: 100%;
    height: auto;
}

/* Hidden elements */
.hidden {
    display: none;
}

/* Inline display */
.inline-display {
    display: inline-block;
}

/* User profile styles */
.avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Large user icon */
.large-user-icon {
    font-size: 80px;
    margin-top: 3px;
}

/* Navigation user icon */
.nav-user-icon {
    font-size: 24px;
    margin-top: 3px;
}

/* Email verification icon */
.email-verification-icon {
    font-size: 4rem;
}

/* Table cell alignment */
.text-center-vertical {
    text-align: center;
    vertical-align: middle;
}

/* Action column width */
.actions-column {
    width: 120px;
}

/* Travel log padding */
.travel-log-padding {
    padding-left: 2rem;
}

/* Cursor pointer for file input labels */
.file-input-label {
    cursor: pointer;
}

/* Navigation button margin */
.nav-analyze-btn {
    margin: 10px 0;
}

/* Conditional display helpers */
.show-if-pregnant {
    display: none;
}
.show-if-colonoscopy {
    display: none;
}
.show-if-value {
    display: none;
}

/* Error message styles */
.error-message {
    display: none;
}

/* Typewriter container */
.typewriter-container {
    display: none;
}

/* Typewriter output */
.typewriter-output {
    text-align: left;
}

/* Fade in animation for typewriter effect */
.fade-in-char {
    opacity: 0;
    animation: fadeIn 0.2s forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Inline form */
.inline-form {
    display: inline;
}

/* Step cards - conditional display */
.step-card {
    display: none;
}

/* Metrics period display */
.metrics-period {
    display: none;
}


/* Apple Sign-in Button */
.apple-signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    min-width: 200px;
    height: 40px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.apple-signin-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 4px 8px 3px rgba(0,0,0,.1);
    text-decoration: none;
    color: #fff;
}

.apple-signin-btn:focus {
    outline: none;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 4px 8px 3px rgba(0,0,0,.1), 0 0 0 2px #007AFF;
}

.apple-signin-btn:active {
    background: #333;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.3), 0 1px 3px 1px rgba(0,0,0,.15);
}