 body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background: #f4f4f9;
      display: flex;
      flex-direction: column;
      height: 100vh;
      
    }

    .top-bar {
      background-color: #800000;
      color: white;
      padding: 15px;
      text-align: left;
      font-size: 24px;
      font-weight: bold;
    }

    .page-title {
      font-size: 20px;
      font-weight: bold;
      color: #800000;
      text-align: center;
      margin-top: 20px;
    }

    .appeal-list {
      flex: 1;
      padding: 20px;
      overflow-y: auto;
     
      
    }

    .appeal-item {
      background-color: white;
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 15px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .appeal-info {
      flex: 1;
      padding-right: 20px;
    }

    .appeal-info h3 {
      margin: 0;
      font-size: 18px;
      color: #800000;
    }

    .blood-group {
      font-size: 42px;
      font-weight: bold;
      color: #800000;
      text-align: right;
    }

    .appeal-info p {
      margin: 5px 0;
      font-size: 16px;
      color: #555;
    }

    .posted-time {
      font-size: 14px;
      color: #888;
      position: absolute;
      bottom: 5px;
      right: 10px;
    }

    .contact-info {
      font-size: 16px;
      color: #800000;
      margin-top: 5px;
    }

    .call-icon {
      font-size: 18px;
      color: #800000;
      margin-left: 10px;
      cursor: pointer;
    }

    .add-appeal-btn {
      position: fixed;
      bottom: 120px;
      right: 20px;
      width: 60px;
      height: 60px;
      background-color: dodgerblue;
      color: white;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 32px;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s;
    }

    .add-appeal-btn:hover {
      background-color: #B22222;
    }

    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.5); 
      backdrop-filter: blur(5px); /* Blur effect */
      display: flex;
      justify-content: space-around;
      padding: 6px 0;
      z-index: 10; /* Ensures it's always on top */
      border-top: 1px solid #eee; /* Thin border for separation */
    }

    .bottom-nav a {
      color: rgba(128, 0, 0, 0.7);
      font-size: 13px;
      text-align: center;
      text-decoration: none;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: color 0.3s ease-in-out;
    }

    /* Icon styles */
    .bottom-nav a .icon {
      font-size: 24px;
      margin-bottom: 4px;
      transition: transform 0.3s ease-in-out;
    }

    /* Icon hover effect */
    .bottom-nav a:hover {
      color: #800000; /* Maroon color when hovered */
    }

    .bottom-nav a:hover .icon {
      transform: scale(1.2); /* Slightly increase icon size on hover */
    }
    
    /* Active tab styles */
    .bottom-nav a.active {
      color: #800000; /* Maroon color for active tab */
      font-weight: bold; /* Make text bold */
    }
    
    .bottom-nav a.active .icon {
      transform: scale(1.2); /* Slightly larger icon for active state */
    }
    
     /* Form container */
    .form-container {
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      width: 90%;
      max-width: 400px;
      padding: 20px;
      box-sizing: border-box;
    }

    /* Form styles */
    form {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    input, select, textarea {
      padding: 12px;
      border-radius: 24px;
      border: 1px solid #ccc;
      font-size: 16px;
      width: 100%; /* Ensure fields fit the container */
      box-sizing: border-box; /* Include padding and border in total width */
    }

    textarea {
      resize: vertical;
      height: 120px;
    }

    /* Submit Button */
    .submit-btn {
      background-color: #800000;
      color: white;
      border: none;
      padding: 15px;
      font-size: 16px;
      font-weight: bold;
      border-radius: 24px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .submit-btn:hover {
      background-color: #B22222;
    }
    
    /* MOBILE RESPONSIVENESS */
    @media (max-width: 600px) {
      .top-bar {
        font-size: 20px;
      }

      .appeal-info h3 {
        font-size: 16px;
      }

      .appeal-info p {
        font-size: 14px;
      }
       .form-container {
        width: 100%; /* Full width on smaller screens */
      }

      .submit-btn {
        padding: 12px;
      }
    }
    
    /* TABLE */
      table {
            width: 80%;
            margin: 20px auto;
            border-collapse: collapse;
            border-radius: 10px;
            overflow: hidden; 
        }
        table th, table td {
            padding: 10px;
            text-align: center;
            border: 1px solid #ddd;
        }
        
        table tr:nth-child(even) {
                background-color: #f2f2f2;  /* Light grey for even rows */
            }
            
            table tr:nth-child(odd) {
                background-color: white;    /* White for odd rows */
            }
            
            table th {
            /*   background-color: #4CAF50;  /* Green for header */
                background-color: dodgerblue;
                color: white;
            }
            
            table td {
                font-size: 14px;
            }
        
        .buttonTable {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            margin: 20px;
            border-radius: 5px;
        }
        .buttonTable:hover {
            background-color: #45a049;
        }
        .edit-btn {
            background-color: #ff9800;
            color: white;
            padding: 5px 10px;
            text-decoration: none;
            border-radius: 3px;
        }
        .edit-btn:hover {
            background-color: #e68900;
        }
        
        /* ADMIN */


        /* Sidebar */
        .sidebar {
            position: fixed;
            top: 50px; /* Below the top bar */
            left: 0;
            width: 250px;
            height: 100%;
            background-color: #4CAF50;
            color: white;
            overflow-y: auto;
            transition: width 0.3s ease;
            z-index: 999;
        }
        
        .sidebar.collapsed {
            width: 60px;
        }
        
        .sidebar ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar ul li {
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .sidebar ul li a {
            color: white;
            text-decoration: none;
            font-size: 18px;
            display: block;
            text-align: left;
        }
        
        .sidebar ul li a:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }
        
        .sidebar .toggle-btn {
            position: absolute;
            top: 10px;
            right: -30px;
            background-color: #4CAF50;
            color: white;
            width: 30px;
            height: 30px;
            text-align: center;
            cursor: pointer;
            border-radius: 5px;
            font-size: 18px;
            line-height: 30px;
        }
        
        /* Page Content */
        .page-content {
            margin-left: 250px;
            padding: 20px;
            transition: margin-left 0.3s ease;
        }
        
        .page-content.collapsed {
            margin-left: 60px;
        }
        
        
        
        /* HEROES PAGE */
        
        .hero-btn {
          margin: 30px auto;
          background-color: #800000;
          color: white;
          padding: 12px 24px;
          font-size: 16px;
          font-weight: bold;
          text-decoration: none;
          text-align: center;
          border-radius: 24px;
          cursor: pointer;
          transition: background-color 0.3s;
          width: 292px;
    
        }
    
        .hero-btn:hover {
          background-color: #B22222;
        }
        /* HEROES PAGE */
        
        /* LEARN PAGE */
        
        .container {
            width: 90%;
            margin: auto;
            text-align: center;
        }
        .section {
            background: white;
            padding: 15px;
            margin: 15px 0;
            border-radius: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        }
        video {
            width: 100%;
            max-width: 400px;
            border-radius: 10px;
            }
        .tweets {
            height: 300px;
            overflow-y: scroll;
            border: 1px solid #ddd;
            padding: 10px;
        }
        .card {
            width: 92%;
            padding-bottom: 30px;
            background-color: #fff;
            border-radius: 15px;
            overflow: hidden;
            /*opacity: 0.6; */
            /*margin-left: 20px;
            margin-bottom: 20px;
            padding-left: 5px; */
            display: inline-block;
            /*margin-left:4%;*/
            vertical-align: top;
            box-shadow: 1px 8px 16px 4px rgba(0, 0, 0, .5);
            }
            .btn {
              background-color: #0077be;
              /*background-color: dodgerblue; */
              color: white;
              padding: 4px 5px;
              border: none;
              cursor: pointer;
              width: 300px;
              opacity: 0.9;
              border-radius: 40px;
              margin-left:5%;
              margin-right:5%;
              font-size:1.1rem;
            }
            
           /* The switch - the box around the slider */
            .switch {
              position: relative;
              display: inline-block;
              width: 60px;
              height: 34px;
            }
            
            /* Hide default HTML checkbox */
            .switch input {
              opacity: 0;
              width: 0;
              height: 0;
            }
            
            /* The slider */
            .slider {
              position: absolute;
              cursor: pointer;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              background-color: #ccc;
              -webkit-transition: .4s;
              transition: .4s;
            }
            
            .slider:before {
              position: absolute;
              content: "";
              height: 26px;
              width: 26px;
              left: 4px;
              bottom: 4px;
              background-color: white;
              -webkit-transition: .4s;
              transition: .4s;
            }
            
            input:checked + .slider {
              background-color: #2196F3;
            }
            
            input:focus + .slider {
              box-shadow: 0 0 1px #2196F3;
            }
            
            input:checked + .slider:before {
              -webkit-transform: translateX(26px);
              -ms-transform: translateX(26px);
              transform: translateX(26px);
            }
            
            /* Rounded sliders */
            .slider.round {
              border-radius: 34px;
            }
            
            .slider.round:before {
              border-radius: 50%;
            }