@import url("colors.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
  background-color: var(--silver-color);
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding: 2rem !important;
  background-color: #ffffff;
}

.company-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.company-logo:hover {
  transform: scale(1.05);
}

.announcement-bar,
footer,
.navbar {
  display: none !important;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--dark);
}

.form-control {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #444;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-right: none;
  font-weight: 500;
}

.text-muted {
  font-size: 0.8rem;
  color: #6c757d;
}

/* Style the password toggle buttons */
.toggle-password {
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-left: none;
  color: #6c757d;
}

/* Terms and divider styling */
.form-check-label {
  font-size: 0.9rem;
}

.divider {
  margin: 1.5rem 0;
}

.divider-line {
  flex-grow: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.divider span {
  color: #6c757d;
  font-size: 0.85rem;
}

.btn-register {
  background-color: var(--dark) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  height: 48px;
  position: relative;
}

.btn-register:hover {
  background-color: var(--silver) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Google Button */
.btn-outline-danger {
  border: 1.5px solid #db4437;
  color: #db4437;
  border-radius: 8px;
  font-weight: 500;
  padding: 0.8rem;
  transition: all 0.3s ease;
  height: 48px;
  background-color: transparent;
}

.btn-outline-danger:hover {
  background-color: #db4437;
  color: white;
}

.google-icon {
  vertical-align: middle;
}

/* Password Toggle Styles */
.password-container .input-group {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* Terms and modal styling */
.terms-link {
  color: var(--dark);
  text-decoration: underline;
  font-weight: 500;
}

.modal-content {
  border-radius: 12px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.modal-body h6 {
  font-weight: 600;
  margin-top: 1rem;
}

.modal-body p {
  margin-bottom: 1.5rem;
  color: #555;
}

/* Form validation styles */
.form-text.text-danger {
  color: #dc3545 !important;
  font-size: 0.85rem;
}

.form-text.text-success {
  color: #198754 !important;
  font-size: 0.85rem;
}

.password-container .form-control {
  padding-right: 50px;
  border-right: 0;
}

.password-container .toggle-password {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 5;
  border: none;
  background: transparent;
  color: #6c757d;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.password-container .toggle-password:hover {
  color: var(--dark);
  background-color: rgba(0, 0, 0, 0.03);
}

.password-container .toggle-password:focus {
  box-shadow: none;
}

/* Modern Additional Styles */
.welcome-text {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.welcome-subtitle {
  color: #6c757d;
  font-weight: 400;
  margin-bottom: 2rem;
}

.brand-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-icon {
  font-size: 1.2rem;
  color: var(--dark);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.03);
}

.nav-icon:hover {
  color: var(--primary);
  background-color: rgba(0, 0, 0, 0.07);
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.input-group-text {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-right: none;
  color: #495057;
  font-weight: 500;
}

.text-decoration-none {
  font-weight: 500;
  color: var(--dark);
  transition: all 0.2s ease;
}

.text-decoration-none:hover {
  color: var(--silver);
  text-decoration: underline !important;
}
