/* Prayer Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.modal-content {
  background: radial-gradient(circle, #00D0FF 0%, #0072D3 100%);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  z-index: 10000;
  position: relative;
}
@media (prefers-color-scheme: dark) {
  .modal-content {
    background: radial-gradient(circle, #00D0FF 0%, #0072D3 100%);
  }
}
/* Prayer Modal Specific Styles */
.prayer-modal-wrapper .modal-content {
  max-width: 450px;
}
.prayer-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prayer-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
}
@media (prefers-color-scheme: dark) {
  .prayer-modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
  }
}
.prayer-icon {
  font-size: 2rem;
  margin-right: 0.75rem;
}
.prayer-modal-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  text-align: center;
}
.prayer-modal-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}
.prayer-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
@media (prefers-color-scheme: dark) {
  .prayer-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
}
.prayer-modal-content {
  flex: 1;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Suggested Prayer Section */
.suggested-prayer {
  background: transparent;
  border-radius: 0.75rem;
  padding: 0;
  border: none;
  position: relative;
}
@media (prefers-color-scheme: dark) {
  .suggested-prayer {
    background: transparent;
    border: none;
  }
}
.suggested-prayer::before {
  display: none;
}
.suggested-prayer-label {
  display: none;
}
.suggested-prayer-text {
  color: white;
  line-height: 1.6;
  font-size: 20px;
  margin: 0;
}
@media (prefers-color-scheme: dark) {
  .suggested-prayer-text {
    color: white;
  }
}
/* Loading and Error States */
.prayer-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  color: white;
}
.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.prayer-error {
  text-align: center;
  padding: 1.5rem;
  color: rgb(220, 38, 38);
}
@media (prefers-color-scheme: dark) {
  .prayer-error {
    color: rgb(248, 113, 113);
  }
}
.retry-button {
  background: rgb(220, 38, 38);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background-color 0.2s;
}
.retry-button:hover {
  background: rgb(185, 28, 28);
}
.prayer-fallback {
  text-align: left;
  padding: 0;
  color: white;
}
.prayer-fallback p {
  line-height: 1.6;
  font-size: 20px;
  margin: 0;
}
@media (prefers-color-scheme: dark) {
  .prayer-fallback {
    color: white;
  }
}
/* Modal Actions */
.prayer-modal-actions {
  padding: 1.5rem;
  border-top: none;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.auth-required {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
  text-align: center;
  color: white;
}
@media (prefers-color-scheme: dark) {
  .auth-required {
    color: white;
  }
}
.login-button {
  background: linear-gradient(135deg, rgb(59, 130, 246) 0%, rgb(147, 51, 234) 100%);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
  color: white;
  text-decoration: none;
}
.amen-button {
  background: #FFBB00;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}
.amen-button:hover:not(:disabled) {
  background: #E6A800;
}
.amen-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.cancel-button {
  background: transparent;
  color: rgb(107, 114, 128);
  border: 1px solid rgb(209, 213, 219);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.cancel-button:hover {
  background: rgb(249, 250, 251);
  color: rgb(75, 85, 99);
}
@media (prefers-color-scheme: dark) {
  .cancel-button {
    color: rgb(156, 163, 175);
    border-color: rgb(55, 65, 81);
  }
  
  .cancel-button:hover {
    background: rgb(55, 65, 81);
    color: rgb(229, 231, 235);
  }
}
.button-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.prayer-modal-error {
  padding: 1rem 1.5rem;
  background: rgb(254, 242, 242);
  color: rgb(220, 38, 38);
  border-top: 1px solid rgb(229, 231, 235);
  text-align: center;
  font-size: 0.875rem;
}
@media (prefers-color-scheme: dark) {
  .prayer-modal-error {
    background: rgb(69, 26, 26);
    color: rgb(248, 113, 113);
    border-top-color: rgb(55, 65, 81);
  }
}
/* Celebration Animation Styles */
.celebration-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgb(59, 130, 246) 0%, rgb(147, 51, 234) 100%);
  z-index: 10000;
  overflow: hidden;
}
.floating-element {
  position: absolute;
  font-size: 2rem;
  animation: floatUp 2s ease-out forwards;
  pointer-events: none;
}
@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}
.celebration-message {
  text-align: center;
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s, transform 0.5s;
}
.celebration-message.show {
  opacity: 1;
  transform: scale(1);
}
.message-content {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 1s ease-in-out;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}
.message-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.message-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}
/* Sparkle Effects */
.sparkles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}
/* Mobile responsiveness */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.5rem;
  }
  
  .prayer-modal-content {
    padding: 1rem;
    gap: 1rem;
  }
  
  .prayer-modal-actions {
    padding: 1rem;
    flex-direction: column;
  }
  
  .amen-button {
    width: 100%;
    justify-content: center;
  }
  
  .message-title {
    font-size: 1.5rem;
  }
  
  .message-subtitle {
    font-size: 1rem;
  }
  

}
