@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/*
 * Global resets and helpers
 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'OpenÂ Sans', sans-serif;
  line-height: 1.2;
  color: #fff;
}

.ai-style-change-1 {
  .login-box& {
    transform: scale(2);
  }
}

/* Utility classes */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 20px;
}

.btn-blue {
  background-color: #00a0d1;
  color: #ffffff;
}
.btn-blue:hover {
  background-color: #008ab8;
}

.btn-green {
  background-color: #22c4a4;
  color: #ffffff;
}
.btn-green:hover {
  background-color: #1ea98d;
}

.btn-red {
  background-color: #bf1d58;
  color: #ffffff;
}
.btn-red:hover {
  background-color: #a3194b;
}

.btn-gold {
  background-color: #ffd700;
  color: #333;
}
.btn-silver {
  background-color: #c0c0c0;
  color: #333;
}
.btn-bronze {
  background-color: #cd7f32;
  color: #333;
}

.hidden {
  display: none !important;
}

/* Inputs */
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="search"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  border: 1px solid #ffffff;
  border-radius: 4px;
  background-color: #ffffff;
  color: #2196f3;
  font-size: 1.5rem;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  color: #000;
  background-color: rgba(255,255,255,0.8);
}

th, td {
  padding: 0.6rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

thead th {
  position: sticky;
  top: 0;
  background-color: #f2f2f2;
  z-index: 2;
}

.scroll-container {
  max-height: 60vh;
  overflow-y: auto;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background-color: #ffffff;
  color: #000;
  border-radius: 8px;
  padding: 2rem;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
}