* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a3d 0%, #3b1a5e 100%);
    overflow: hidden;
}

.container {
    width: 375px;
    height: 667px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.screen {
    display: none;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screen.active {
    display: flex;
    opacity: 1;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #6b4e9e;
    border-radius: 15px;
    margin-bottom: 20px;
    position: relative;
}

.header h1 {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.header .back-btn {
    position: absolute;
    left: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
/* 
.language-selector {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.language-selector select {
    padding: 5px;
    border-radius: 5px;
    background: #fff;
    color: #000;
    border: none;
    font-size: 14px;
} */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #6c4ba7; /* purple */
  padding: 10px 20px;
  border-radius: 20px;
  color: white;
}

.title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.language-selector select {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}








.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button {
    padding: 15px;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    margin: 10px 0;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.button i {
    margin-right: 10px;
    font-size: 20px;
}

.sos-button {
    background-color: #e63946;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    font-size: 36px;
    margin: 20px 0;
}

.nav-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-bar i {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Splash Screen */
#splash-screen .content {
    justify-content: center;
}

#splash-screen .content h1 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

#splash-screen .options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#splash-screen .options .option {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* Onboarding Screen */
#onboarding-screen .content {
    justify-content: center;
}

#onboarding-screen .alert-icon {
    width: 40px;
    height: 40px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Home/Dashboard Screen */
#home-screen .content {
    justify-content: center;
}

#home-screen .map-placeholder {
    width: 100%;
    height: 200px;
    background: #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#home-screen .pickup-info,
#home-screen .hospital-options {
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

#home-screen .hospital-options .hospital {
    background-color: #457b9d;
    margin: 5px 0;
}

#home-screen .eta-info {
    color: white;
    text-align: center;
    display: none;
}

/* Blood Donation Screen */
#blood-donation-screen .content {
    justify-content: center;
}

#blood-donation-screen .blood-icon {
    font-size: 50px;
    color: #e63946;
    margin-bottom: 20px;
}

#blood-donation-screen .blood-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#blood-donation-screen .blood-form select,
#blood-donation-screen .blood-form input {
    padding: 10px;
    border: 2px solid white;
    border-radius: 10px;
    background: transparent;
    color: white;
}

#blood-donation-screen .form-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#blood-donation-screen .submit-button {
    background-color: #000;
}

/* Resuscitation Mode Screen */
#resuscitation-screen .content {
    justify-content: center;
}

#resuscitation-screen .tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#resuscitation-screen .tab {
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 20px;
    color: white;
    cursor: pointer;
}

#resuscitation-screen .tab.active {
    background-color: #6b4e9e;
}

/* Disaster Mode Screen */
#disaster-mode-screen .content {
    justify-content: space-around;
}

#disaster-mode-screen .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#disaster-mode-screen .grid .item {
    background: #ccc;
    border-radius: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
}

/* Elder Network Screen */
#elder-network-screen .content {
    justify-content: center;
}

#elder-network-screen .volunteers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#elder-network-screen .volunteer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

#elder-network-screen .volunteer i {
    font-size: 24px;
}

/* Post-Emergency Report Screen */
#report-screen .content {
    justify-content: center;
}

#report-screen .form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

#report-screen .form input,
#report-screen .form textarea {
    padding: 10px;
    border: 2px solid white;
    border-radius: 10px;
    background: transparent;
    color: white;
}

#report-screen .submit-button {
    background-color: #000;
}

/* AI Chat Companion Screen */
#chat-screen .content {
    justify-content: space-between;
}

#chat-screen .messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

#chat-screen .message {
    background: #6b4e9e;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 70%;
}

#chat-screen .message.right {
    background: #e63946;
    margin-left: auto;
}

#chat-screen .input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

#chat-screen .input-bar input {
    flex: 1;
    padding: 10px;
    border: 2px solid white;
    border-radius: 10px;
    background: transparent;
    color: white;
}

#chat-screen .input-bar i {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.notification {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: none;
}
