@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/

/* Typography */
@layer base {
  h1, h2, h3, h4, p {
    margin: 0;
  }

  p, .p {
    line-height: 1.7em;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }

  h1, .h1 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    margin: 0;
    margin-bottom: 1rem; /* 2rem; */
  }

  h2, .h2 {
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.3em;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  h3, .h3 {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3em;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }

  h4, .h4 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3em;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
  }

  h5, .h5 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3em;
  }

  h6, .h6 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3em;
  }
}
/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Form Input */
.form-input {
  padding: 1.25rem;
  width: 100%;
  border-radius: 0.375rem;
  background-color: #f5f5f5;
  border: none;
  color: #6b7280;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
}

/* Form Label */
.form-group label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Form Error States */
.form-input.error {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
}

.form-error {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #ef4444;
}

/* Form Success States */
.form-input.success {
  background-color: #f0fdf4;
  border: 1px solid #22c55e;
}

/* Form Disabled States */
.form-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* General Body Styles */
body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* Button Styles */
.btn-primary {
  background-color: #0EA5E9;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: 50rem;
  transition: background-color 0.2s ease-in-out;
}
.btn-primary:hover {
  background-color: #0284C7;
  cursor: pointer;
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px #0EA5E9;
}
.btn-primary:disabled {
  background-color: #7dd3fc;
  cursor: not-allowed;
}

.btn-primary-reverse {
  background-color: transparent;
  color: #0EA5E9;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: 50rem;
  border: 2px solid #0EA5E9;
  transition: all 0.2s ease-in-out;
}
.btn-primary-reverse:hover {
  background-color: #0EA5E9;
  color: #ffffff;
  cursor: pointer;
}
.btn-primary-reverse:focus {
  outline: none;
  box-shadow: 0 0 0 2px #0EA5E9;
}
.btn-primary-reverse:disabled {
  border-color: #7dd3fc;
  color: #7dd3fc;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #333333;
}
.btn-secondary:hover {
  background-color: #e0e0e0;
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) 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
 * 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.
 *


 */
