/* Remove the body styles since they're handled by reset_and_base_styles.css */
body {
    padding: 0;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 2em auto;
    padding: 3em;
    position: relative;
    z-index: 1;
}

#phase-logo {
    display: none;
    max-height: 160px;
    margin: 2rem auto 1rem auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
  }

  #phase-logo:hover {
    transform: scale(1.05);
  }

.page-title-container {
    text-align: center;
    max-width: 1800px;
    width: 95%;
    margin: 8rem auto 2rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
  .page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: #d14b00;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}
  
  .page-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #d14b00;
    border-radius: 3px;
}
  
  .page-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #5c534a;
    max-width: 680px;
    margin: 1.5rem auto 0;
    line-height: 1.5;
    min-height: 1.8rem;
    width: 100%;
}
  
/* Typewriter effect styling */
#report-rotating-subtitle {
    font-style: italic;
    display: block;
    min-width: 260px;
    position: relative;
    margin-top: 1.8rem;
    width: 100%;
    text-align: center;
}

#report-rotating-subtitle::after {
    content: '|';
    position: relative;
    right: 0;
    animation: blink 1s infinite;
    color: #d14b00;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.nudge-toggle {
    display: block;
    margin: 1rem auto;
  }
  

.prompt {
    font-family: 'Lora', serif;
    font-size: 1.2em;
    font-style: italic;
    margin: 1.5em auto;
    color: #5a3932;
    padding-bottom: 0.8em;
    max-width: 800px;
    text-align: center;
    background: none;
    box-shadow: none;
}

.suggestions {
    background: none;
    padding: 1.5em 2em;
    border-left: 5px solid #f97f51;
    margin: 2em auto;
    display: none;
    border-radius: 10px;
    font-size: 1.1em;
    max-width: 800px;
    box-shadow: none;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    margin: 0.8em 0;
    padding-left: 1.5em;
    position: relative;
}

.suggestions li:before {
    content: "•";
    color: #f97f51;
    position: absolute;
    left: 0;
}

textarea {
    width: 100%;
    height: 300px;
    padding: 1.5em;
    border: 1px solid #e0cbb7;
    background: none;
    font-family: 'Lora', serif;
    font-size: 1.1em;
    line-height: 1.8em;
    resize: vertical;
    border-radius: 10px;
    box-shadow: none;
    margin: 1em auto;
    display: block;
    max-width: 800px;
}

.actions {
    margin: 2em auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
    max-width: 800px;
}

button {
    background: #a33e2d;
    color: white;
    padding: 0.8em 1.8em;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lora', serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button:hover {
    background: #912f22;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.privacy {
    font-family: 'Lora', serif;
    font-size: 0.9em;
    color: #5e4c4c;
    margin: 2em auto;
    text-align: center;
    line-height: 1.6em;
    max-width: 800px;
    padding: 0 1em;
}

.voice {
    background: none;
    padding: 1.8em;
    margin: 2em auto;
    border-radius: 12px;
    border: none;
    font-size: 1.1em;
    max-width: 800px;
    text-align: center;
    box-shadow: none;
}

.voice p {
    margin-bottom: 1em;
}

.voice button {
    background: #f97f51;
    margin-top: 0.5em;
}

.voice button:hover {
    background: #e86d3f;
}

.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    font-family: 'Playfair Display', serif;
  }
  
  .popup-content input {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .popup-content button {
    background: #e86d3f;
    color: white;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .popup-exit {
    margin-top: 1rem;
  }
  
  #exit-popup {
    background: transparent;
    color: #333;
    border: none;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
  }
  
  #exit-popup:hover {
    color: #e86d3f;
  }
  
  

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        margin: 1em;
        padding: 1.5em;
    }

    h1 {
        font-size: 2.4em;
    }

    .prompt {
        font-size: 1.3em;
        padding: 0 1em;
    }

    textarea {
        height: 250px;
        font-size: 1em;
    }

    .actions {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}

/* Background overlay for better text readability */
.background-overlay {
    display: none;
}