 :root {
      --mdc-theme-primary: #333333;
      --mdc-theme-secondary: #666666;
      --mdc-theme-background: #f5f5f5;
  }
  body, html {
      height: 100%;
      margin: 0;
      font-family: Roboto, sans-serif;
  }
  body {
      display: flex;
      justify-content: center;
      align-items: center;
      background-image: url('../../../../../../../resources/images/login/gym_resize.jpg');
      background-size: cover;
      background-position: center;
  }
  .background-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(10px);
      transition: backdrop-filter 0.3s ease;
  }
  .login-card {
      width: 350px;
      padding: 32px;
      background-color: rgba(255, 255, 255, 0.9);
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 1;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .login-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  .login-title {
      text-align: center;
      margin-bottom: 24px;
      color: var(--mdc-theme-primary);
      font-size: 28px;
      font-weight: 500;
  }
  .mdc-top-app-bar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background-color: var(--mdc-theme-primary);
      color: white;
  }
  .main-content {
      padding-top: 64px; /* Add space for the app bar */
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .login-form {
      display: flex;
      flex-direction: column;
  }
  .mdc-text-field {
      margin-bottom: 16px;
      transition: transform 0.2s ease;
  }
  .mdc-text-field .mdc-text-field__input {
      caret-color: #333333;
      caret-color: var(--mdc-theme-primary, #333333);
  }
  /* 기본 힌트 텍스트 색상 */
  .mdc-text-field .mdc-floating-label {
      color: #333333; /* 힌트 텍스트의 기본 색상 */
  }

  /* 포커스 상태에서 힌트 텍스트 색상 */
  .mdc-text-field--focused .mdc-floating-label {
      color: #333333 !important; /* 포커스 상태에서 강제로 색상 재정의 */
  }

  /* 입력값이 있을 때 힌트 텍스트 색상 (플로팅 상태) */
  .mdc-floating-label--float-above {
      color: #333333 !important;
  }

  /* 활성화된 입력 필드의 테두리 색상 */
  .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,
  .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,
  .mdc-text-field:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {
      border-color: #333333 !important; /* 테두리 색상도 필요에 따라 수정 */
  }
  .mdc-text-field:focus-within {
      transform: scale(1.02);
  }
  .mdc-button {
      margin-top: 24px;
      background-color: #000000 !important;
      transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .mdc-button:hover {
      background-color: #333333 !important;
      transform: translateY(-2px);
  }
  .mdc-button__label {
      color: #ffffff;
  }

  .forgot-password {
      text-align: right;
      margin-top: 16px;
  }
  .forgot-password a {
      color: var(--mdc-theme-secondary);
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s ease;
  }
  .forgot-password a:hover {
      color: var(--mdc-theme-primary);
  }
  .loading-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .loading-overlay.active {
      opacity: 1;
      visibility: visible;
  }
  .spinner {
      width: 40px;
      height: 40px;
      border: 3px solid #333;
      border-top: 3px solid #fff;
      border-radius: 50%;
      animation: spin 1s linear infinite;
  }
  @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  
  
.error-message, .success-message {
    margin-top: 16px;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
}