/* ✅ General Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* ✅ Top Banner (468x60) */
.top-banner {
    width: 468px;
    height: 60px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ✅ Navigation Bar */
.nav-container {
    display: flex;
    justify-content: center; /* Centers the menu */
    align-items: center;
    padding: 10px;
}

/* ✅ Style the menu button */
.nav-menu button {
    background-color: #0071dc;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.nav-menu {
    position: relative;
    display: inline-block;
}

.nav-menu button:hover {
    background-color: #005bbd;
    color: white;
}


/* ✅ Dropdown Styling */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    text-align: center;
    z-index: 1000;
}

/* ✅ Ensure dark text */
.nav-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black; /* Make text dark */
    font-weight: bold;
}

/* ✅ Hover effect */
.nav-dropdown a:hover {
    background-color: #f1f1f1;
}

/* ✅ Show dropdown */
.show-dropdown {
    display: block;
}


/* ✅ Mobile-Friendly Menu Toggle */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        text-align: right;
    }
    .nav-dropdown a {
        display: inline-block;
        padding: 5px;
    }
}

/* ✅ Registration Form Container */
.register-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 450px;
    text-align: center;
    margin: 20px 160px;
}

/* ✅ Form Fields */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background: #f9f9f9;
}

/* ✅ Labels */
label {
    text-align: left;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

/* ✅ Register Button */
button {
    background-color: #0071dc;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s;
    width: 100%;
}

button:hover {
    background-color: #005bbd;
}

/* ✅ Error Message */
.error-message {
    color: red;
    font-size: 14px;
    background: #ffecec;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* ✅ Login Link */
p {
    font-size: 14px;
}

p a {
    color: #0071dc;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}

/* ✅ Side Banners (120x600) */
.side-banner {
    width: 120px;
    height: 600px;
    position: absolute;
    top: 80px;
}

.left-banner {
    left: 10px;
}

.right-banner {
    right: 10px;
}

/* ✅ Footer */
.footer {
    background-color: #0071dc;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    margin-top: 20px;
}

/* ✅ Responsive Adjustments */
@media (max-width: 1024px) {
    /* Hide side banners on smaller screens */
    .side-banner {
        display: none;
    }

    /* Adjust form container width */
    .register-container {
        width: 80%;
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .register-container {
        width: 90%;
        padding: 20px;
    }

    .top-banner {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .register-container {
        width: 95%;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown {
        text-align: center;
    }
   
    .hidden {
    display: none;
}
    
}

.wallet-btn {
    display: inline-flex;
    align-items: center;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    gap: 8px;
    cursor: pointer;
  }
 
  .wallet-auth-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .wallet-auth-group button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
  }
  .wallet-icon {
    width: 24px;
    height: 24px;
  }
  .divider {
    font-weight: bold;
    font-size: 14px;
    margin: 4px 0;
  }
