/* 
* redemption_code.css
* Styling for the redemption code page
*/

/* User profile section */
.user-profile {
    padding: 1.25rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
  }
  
  .user-profile-header {
    display: flex;
    align-items: center;
  }
  
  .user-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  
  .avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gitlab-orange);
  }
  
  .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gitlab-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
  }
  
  .user-info {
    flex-grow: 1;
  }
  
  .user-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
  }
  
  .user-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
  }
  
  .user-username {
    color: var(--gitlab-purple);
    font-weight: 500;
  }
  
  .user-email {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Redemption code input field */
  .redemption-input {
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
    text-align: center;
    font-family: monospace;
    text-transform: uppercase;
  }
  
  .redemption-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-family: inherit;
    font-size: 1rem;
  }
  
  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  /* Alert customization */
  .alert-info {
    border-left: 4px solid var(--gitlab-orange);
  }
  
  /* Dark theme adjustments */
  .dark-theme .user-profile {
    background-color: var(--card-bg);
  }
  
  .dark-theme .avatar-placeholder {
    background: var(--gitlab-indigo);
  }
  
  .dark-theme .user-username {
    color: #9985DD;
  }
  
  /* Responsive adjustments */
  @media (max-width: 576px) {
    .user-profile-header {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .user-avatar {
      margin-right: 0;
      margin-bottom: 1rem;
    }
    
    .user-details {
      justify-content: center;
    }
  }