body {
    font-family: Arial, sans-serif;
    background-color: #e6ecf0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }

  header {
    text-align: center;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  header h1 {
    font-size: 2rem;
    margin: 0;
  }

  .title {
    text-align: center;
  }

.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
    color: #777;
    font-size: 20px;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 150px; /* Smaller width */
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 3px 6px; /* Smaller padding */
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 12px; /* Smaller text */
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
  
  .container {
    width: 500px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .container {
    /* border-bottom: 1px solid #e1e8ed; */
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  
  .profile {
    display: flex;
    align-items: center;
  }

  .profile-picture {
    width: 48px; /* Circular frame size */
    height: 48px;
    border-radius: 50%; /* Circular mask */
    overflow: hidden; /* Ensures image stays inside the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.profile-picture img {
    width: 55px; /* Zoom in */
    height: 55px;
    object-fit: cover;
    object-position: 70% center; /* Move image to the right */
    transform: translate(5px);
}

  
  .profile-info {
    display: flex;
    flex-direction: column;
  }
  
  .profile-info strong {
    font-size: 16px;
  }
  
  .profile-info span {
    font-size: 14px;
    color: gray;
  }
  
  .tweet-text {
    font-size: 18px;
    margin-top: 10px;
  }
  
  .tweet-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: gray;
    font-size: 14px;
  }

  .tweet-actions i {
    font-size: 16px;
  }
  
  button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #1da1f2;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #0d8de1;
  }

  /* Loading Spinner Styles */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;  /* Hidden by default */
    justify-content: center;
    align-items: center;
    flex-direction: column;  /* Align spinner and text vertically */
    z-index: 999;   /* Ensure it appears on top of other content */
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-message {
    color: white;
    font-size: 18px;
    margin-top: 15px;
    text-align: center;
}

  footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
  }
  
  footer a {
    color: black;
    font-size: 16px;
    text-decoration: none;
  }

  footer i {
    font-size: 20px;
  }
  
  footer a:hover {
    opacity: 0.8;
  }