/*
 * This is a manifest file that'll be compiled into application.css, which will include
 * all the files listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 /*
  *= require_self
  */

@import url("/assets/contacts-a7919937.css");
@import url("/assets/contact_detail-099a0d5f.css");
@import url("/assets/profile-efc3e572.css");
@import url("/assets/upload-5b765837.css");
@import url("/assets/circles-dc42c4b6.css");
@import url("/assets/review-a369aab3.css");
@import url("/assets/public_profile-89fa3471.css");
@import url("/assets/link_contact-3445d6cf.css");
@import url("/assets/components/contact_choice-ebea4e4f.css");
@import url("/assets/authentication-ddfb7c1a.css");
@import url("/assets/landing-f8fee01f.css");
@import url("/assets/admin-2ba0199a.css");
@import url("/assets/system_checks-122ec550.css");
@import url("/assets/onboarding-3b145f97.css");

/* Import handwritten font for taglines */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500&display=swap");

/* Global Styles */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: 1.25;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Flash Messages */
.flash {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.3s ease-out;
}

.flash--notice {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash--alert {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.flash__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  margin-left: 1rem;
  padding: 0;
  line-height: 1;
}

.flash__close:hover {
  opacity: 0.7;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive flash messages */
@media (max-width: 480px) {
  .flash {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* Navigation Bar Styles */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar__brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.navbar__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.navbar__logo:hover {
  opacity: 0.8;
  text-decoration: none;
}

.navbar__tagline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Caveat", cursive;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.navbar__tagline::before {
  content: "✨";
  font-size: 1rem;
}

.navbar__menu {
  display: flex;
  align-items: center;
}

.navbar__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar__welcome {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.navbar__dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar__avatar {
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.navbar__dropdown-arrow {
  transition: transform 0.2s;
}

.navbar__dropdown-toggle:hover .navbar__dropdown-arrow {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 12rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
  z-index: 1000;
}

.navbar__dropdown-menu--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.navbar__dropdown-item:hover {
  background-color: #f3f4f6;
  text-decoration: none;
}

.navbar__dropdown-item--danger {
  color: #ef4444;
}

.navbar__dropdown-item--danger:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

.navbar__dropdown-divider {
  margin: 0.5rem 0;
  border: none;
  height: 1px;
  background-color: #e5e7eb;
}

/* Public Header Styles */
.public-header__title-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.public-header__tagline {
  font-size: 1.25rem;
  color: #6b7280;
  font-weight: 500;
  font-family: "Caveat", cursive;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.public-header__tagline::before {
  content: "✨";
  font-size: 1.125rem;
}

/* Auth Page Styles */
.auth-title-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.auth-tagline {
  font-size: 1.25rem;
  color: #f2f6ff;
  font-weight: 500;
  font-family: "Caveat", cursive;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.auth-tagline::before {
  content: "✨";
  font-size: 1.125rem;
}

/* Main content spacing */
.main-content {
  min-height: calc(100vh - 4rem);
}

.main-content--full {
  min-height: 100vh;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .navbar__container {
    padding: 0 1rem;
  }

  .navbar__welcome {
    display: none;
  }

  .navbar__dropdown-menu {
    min-width: 10rem;
  }
}

@media (max-width: 480px) {
  .navbar__container {
    height: 3.5rem;
  }

  .navbar__logo {
    font-size: 1.25rem;
  }

  .navbar__dropdown-toggle {
    padding: 0.375rem 0.5rem;
  }

  .navbar__avatar {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.button--primary {
  background-color: #3b82f6;
  color: white;
}

.button--primary:hover {
  background-color: #2563eb;
  text-decoration: none;
}

.button--secondary {
  background-color: #6b7280;
  color: white;
}

.button--secondary:hover {
  background-color: #4b5563;
  text-decoration: none;
}

.button--outline {
  background-color: transparent;
  color: #374151;
  border: 2px solid #d1d5db;
}

.button--outline:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  text-decoration: none;
}

.button--danger {
  background-color: #dc2626;
  color: white;
}

.button--danger:hover {
  background-color: #b91c1c;
  text-decoration: none;
}

.button--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.button--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.button--full {
  width: 100%;
}
