/* Reset some default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

select:invalid { color: #757575; }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  /* Profile Card Styles */
  .profile-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 350px;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4a90e2;
    margin-bottom: 20px;
  }
  
  .user-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .user-id {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
  }
  
  .user-email {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
  }
  
  .logout-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #ff5c5c;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
  }
  
  .logout-button:hover {
    background-color: #ff3b3b;
  }
  
  /* Data Card Styles */
  .data-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .data-card h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
  }
  
  .data-input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    outline: none;
  }
  
  .fetch-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
  }
  
  .fetch-button:hover {
    background-color: #357ABD;
  }
  
  .json-response {
    white-space: pre-wrap;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    text-align: left;
    overflow: auto;
    max-height: 350px;
  }

  /* Freeze loader overlay */
  .loader-overlay {
    display: none; /* Initially hidden */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Fancy spinner style */
.spinner {
    width: 40px;
    height: 40px;
    border: 6px solid #ddd;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}
  