/* ---------------------- Body ----------------------*/

body {
    font-family: "Ubuntu Sans", serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content-wrapper {
    flex: 1;
    background-color: #ededed;
  }
  
/* ---------------------- Header ----------------------*/

header{
    padding: 55px 140px 0px 140px;
    background-color: #ededed;
}
header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    /* background-color: #ffffff; */
    /* background-color: #164846; */
    background-image: linear-gradient(0deg, #011522 18%, #184e4a 100%);
    color: rgb(105, 105, 105);
    
    border-radius: 20px;
}
header .header-container .logo img {
    height: 100px;
}

/* ---------------------- User Greeting (header/navbar) ----------------------*/

.user-greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.user-greeting #logoutButton {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}
.user-greeting span{
    color: #ffffff;
}

/* ---------------------- Login Form (header/navbar) ----------------------*/

.form-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.login-form {
    display: flex;
    gap: 0.5rem;
}
.login-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.login-form button {
    padding: 0.5rem 1rem;
    background-color: #5cb46a;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
}

/* ---------------------- Drawer (home page) ----------------------*/

.drawer-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #575757;
    cursor: pointer;
    display: block;
    margin: 0; 
    width: 40px;
    height: 40px;
}
.drawer-btn i{
    color: #ffffff;
}
#openDrawer {
    display: block;
}
.side-drawer {
    position: fixed;
    top: 0;
    right: -290px;
    width: 250px;
    height: 100%;
    background-color: #ffffff;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1000;
    text-align: center;
}
.side-drawer.open {
    right: 0;
}
.side-drawer .close-btn {
    font-size: 20px;
    color: rgb(0, 0, 0);
    background: none;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.side-drawer .drawer-heading {
    color: #0d2b29;
    font-size: 24px;
    margin-top: 30px;
    text-align: center;
}
.side-drawer .drawer-menu {
    list-style: none;
    padding: 0;
}
.side-drawer .drawer-menu li {
    margin: 15px 0;
}
.side-drawer .drawer-menu li a i{
    font-size: 15px;
}
.side-drawer .drawer-menu li a {
    text-decoration: none;
    color: #184e4a;
    font-size: 16px;
    display: block;
    cursor: pointer;
}
.side-drawer .drawer-menu li a:hover{
    color: #5CB46A;

}
@media (max-width: 1100px) {
    header {
        padding: 35px 70px 0px 70px;
    }
    header .header-container {
        padding: 1rem;
    }
    header .header-container .logo img {
        height: 80px;
    }
}

@media (max-width: 900px) {
    header {
        padding: 25px 40px 0px 40px;
    }
    header .header-container .logo img {
        height: 70px;
    }
    .login-form,
    .user-greeting {
        flex-direction: column;
        align-items: flex-start;
    }
    .login-form input,.login-form
     {
        width: 95%;
        margin-bottom: 0.5rem;
    }
    #openDrawer {
        display: block;
    }
    .login-form button{
        width: 100%;
    }
}

@media (max-width: 600px) {
    header {
        padding: 20px 20px 0px 20px;
    }
    header .header-container .logo img {
        height: 70px;
        margin-right: 12px
    }
    .drawer-menu a {
        font-size: 16px;
    }
    .drawer-menu a i {
        font-size: 18px;
    }
    .user-greeting #welcomeMessage {
        font-size: 12px;
    }
}

/* ---------------------- Home Page----------------------*/

.home{
    background-color: #ededed;
    padding: 160px 100px 0px 100px;
}
.home-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.home-container h2{
    font-size: 60px;
    margin: 0;
}
.home-container img{
    width: 600px;
    margin: 0px 0px 37px 0px;
}
.home-container h2 span{
    color: #184E4A
}
.home-container p{
    text-align: center;
    margin: 20px 0px;
    letter-spacing: 1px;
    line-height: 25px;
    color: #333;
}
/* Media Queries for Home Section */
@media (max-width: 1200px) {
    .home {
        padding: 120px 70px 0px 70px;
    }
    .home-container h2 {
        font-size: 50px;
    }
    .home-container p {
        font-size: 14px;
    }
    .home-container img{
        width: 400px;
    }
}
@media (max-width: 900px) {
    .home {
        padding: 100px 40px 0px 40px;
    }
    .home-container h2 {
        font-size: 40px;
    }
    .home-container p {
        font-size: 13px;
    }
    .home-container img{
        width: 300px;
    }
}
@media (max-width: 800px) {
    .home-container{
        text-align: center;
    }
}
@media (max-width: 600px) {
    .home {
        padding: 80px 20px 0px 20px;
    }
    .home-container h2 {
        font-size: 30px;
    }
    .home-container p {
        font-size: 12px;
    }
    .home-container button {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }
    .home-container img{
        width: 250px;
    }
}

/* ---------------------- Footer ----------------------*/

footer {
    background-image: linear-gradient(90deg, #011522 0%, #184e4a 100%);
    color: white;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
    bottom: 0px;
    position: relative;
}
.footer-container {
    margin: 50px 100px 0px 100px;
}
.newsletter-section {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    margin-bottom: 50px;
}
.newsletter-text h3 {
    font-size: 40px;
    margin: 0px 0px 20px 0px;
}
.newsletter-text p {
    font-size: 1rem;
    margin: 0;
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}
.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}
.newsletter-form input::placeholder {
    color: #ddd;
}
.newsletter-form button {
    padding: 12px 20px;
    background-color: #5cb46a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}
.newsletter-form button i {
    font-size: 15px;
}
.newsletter-form button:hover {
    background-color: #4aa359;
}
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    margin-bottom: 1rem;
    justify-items: center;
}
.info-logo img {
    max-width: 36%;
    height: auto;
    border-radius: 5px;
}
.info-links h4,
.info-social h4 {
    font-size: 20px;
    margin: 20px 0px 15px 0px;
}
.info-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-links ul li {
    margin-bottom: 5px;
}
.info-links ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}
.info-links ul li a:hover {
    text-decoration: underline;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}
.social-icons a:hover {
    color: #5cb46a;
}
.bottom-section {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}
.bottom-section .copyright p {
    margin: 0;
    font-size: 0.9rem;
}
.bottom-section .terms-policy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: end;
}
.bottom-section .terms-policy a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
}
.bottom-section .terms-policy a:hover {
    text-decoration: underline;
}
.bottom-section .terms-policy span {
    color: white;
}
.designer-link {
    color: #5cb46a;
    font-weight: bold;
    text-decoration: none;
}
.designer-link:hover {
    text-decoration: underline;
}
/* Media Queries */
@media (max-width: 1300px) {
    .newsletter-text h3{
        font-size: 30px;
    }
}
@media (max-width: 1100px) {
    .footer-container {
        margin: 50px 50px 0px 50px;
    }
}
@media (max-width: 900px) {
    .newsletter-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .newsletter-section .newsletter-text{
        margin-bottom: 20px;
    }
    .newsletter-text h3 {
        font-size: 30px;
    }
    .newsletter-text p {
        font-size: 0.9rem;
    }
    .newsletter-form {
        justify-content: center;
    }
    .info-section {
        grid-template-columns: repeat(3, 1fr);
    }
    .info-section h4{
        margin: 0;
    }
    .info-logo img {
        max-width: 50%;
    }
    .info-links h4,
    .info-social h4 {
        font-size: 18px;
        margin: 20px 0px 15px 0px;
    }
    .info-links ul li a {
        font-size: 0.9rem;
    }
    .social-icons a {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        margin: 20px 20px 0px 20px;
    }
    .newsletter-section {
        margin-bottom: 30px;
    }

    .newsletter-text h3 {
        font-size: 24px;
    }
    .newsletter-text p {
        font-size: 0.8rem;
    }
    .newsletter-form input {
        font-size: 0.9rem;
    }
    .newsletter-form button {
        padding: 10px 15px;
        font-size: 14px;
    }
    .info-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .info-logo img {
        max-width: 60%;
    }
    .info-links h4,
    .info-social h4 {
        font-size: 16px;
    }
    .info-links ul li a {
        font-size: 0.8rem;
    }
    .social-icons a {
        font-size: 18px;
    }
    .bottom-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bottom-section .terms-policy {
        justify-content: center;
    }
}
/* ---------------------- About ---------------------- */
.about{
    padding: 100px 0px;
    background-color: #ededed;
    text-align: center;
}
.about-container {
    display: grid;
    /* grid-template-columns: 60% 40%; */
    /* gap: 2rem; */
    max-width: 100%;
    align-items: start;
    margin: 20px 200px;
}
.about-details h4 {
    font-size: 16px;
    color: #5cb46a;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.about-details h2 {
    font-size: 40px;
    color: #3a3a3a;
    margin: 14px 0px 50px 0px;
}
.about-details h2 span{
    font-size: 40px;
    color: #184e4a;
}
.about-form {
    background-color: #011522;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
}
.about-form h3 {
    font-size: 25px;
    font-weight: 400;
    color: white;
    margin-bottom: 35px;
    border-bottom: 2px solid #5cb46a;
    padding-bottom: 15px;
    text-align: center;
}
.about-form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.about-form .form-group input,
.about-form .form-group textarea {
    flex: 1 1 calc(40% - 0.5rem);
    padding: 0.8rem;
    background-color: #184e4ab3;
    border: 1px solid #5cb46a;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}
.about-form .form-group input:nth-child(odd):last-child,
.about-form .form-group textarea {
    flex: 1 1 100%;
}
.about-form .form-group textarea {
    resize: none;
    height: 100px;
}
.about-form .form-group input::placeholder,
.about-form .form-group textarea::placeholder {
    color: #d9d9d9;
}
.about-form button {
    padding: 12px 20px;
    background-color: #5cb46a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}
.about-form button:hover {
    background-color: #47a357;
}
.about-form button i {
    font-size: 15px;
}
@media (max-width: 900px) {
    .about-form {
        padding: 40px 20px;
    }
    .about-form h3 {
        font-size: 22px;
    }
    .about-form .form-group input,
    .about-form .form-group textarea {
        font-size: 0.9rem;
    }
    .about-form button {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .about-form {
        padding: 30px 15px;
    }
    .about-form h3 {
        font-size: 20px;
    }
    .about-form .form-group input,
    .about-form .form-group textarea {
        font-size: 0.85rem;
    }
    .about-form button {
        font-size: 0.85rem;
    }
}
/* ---------------------- Service (home page service section)---------------------- */

.service{
    padding: 100px 200px;
    text-align: center;
}
.service-container {
    display: grid;
    /* grid-template-columns: 60% 40%; */
    /* gap: 2rem; */
    max-width: 100%;
    align-items: start;
    margin: 20px 200px;
}
.service-details h4 {
    font-size: 16px;
    color: #5cb46a;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.service-details h2 {
    font-size: 40px;
    color: #3a3a3a;
    margin: 14px 0px;
}
.service-details h2 span{
    font-size: 40px;
    color: #184e4a;
}
.service-details p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}
/* .service-form {
    background-color: #011522;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
} */
.service-img {
    position: absolute;
    bottom: 6px;
    right: -36px;
    width: 70px;
    height: auto;
    z-index: 1;
}
.service-img img {
    width: 50%;
    height: auto;
    display: block;
}
/* .service-form h3 {
    font-size: 25px;
    font-weight: 400;
    color: white;
    margin-bottom: 35px;
    border-bottom: 2px solid #5cb46a;
    padding-bottom: 15px;
    text-align: center;
}
.service-form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.service-form .form-group input,
.service-form .form-group textarea {
    flex: 1 1 calc(40% - 0.5rem);
    padding: 0.8rem;
    background-color: #184e4ab3;
    border: 1px solid #5cb46a;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}
.service-form .form-group input:nth-child(odd):last-child,
.service-form .form-group textarea {
    flex: 1 1 100%;
}
.service-form .form-group textarea {
    resize: none;
    height: 100px;
}
.service-form .form-group input::placeholder,
.service-form .form-group textarea::placeholder {
    color: #d9d9d9;
}
.service-form button {
    padding: 12px 20px;
    background-color: #5cb46a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}
.service-form button:hover {
    background-color: #47a357;
}
.service-form button i {
    font-size: 15px;
} */
/* Media Queries for Service Section */
@media (max-width: 1300px) {
    .service{
        padding: 100px 0px;
    }
    .service-details h2  {
        font-size: 30px;
    }
    .service-details h2 span{
        font-size: 30px;
    }
}
@media (max-width: 1200px) {
    .service-container {
        margin: 20px 100px;
    }
}
@media (max-width: 900px) {
    .service-container {
        grid-template-columns: 1fr;
        margin: 20px 50px;
    }
    .service-details h2 {
        font-size: 35px;
    }
    .service-form {
        padding: 40px 20px;
    }
    .service-form h3 {
        font-size: 22px;
    }
    .service-form .form-group input,
    .service-form .form-group textarea {
        font-size: 0.9rem;
    }
    .service-form button {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .service-container {
        margin: 20px 20px;
    }
    .service-details h2 {
        font-size: 30px;
    }
    .service-details p {
        font-size: 0.9rem;
    }
    .service-details button {
        font-size: 0.9rem;
    }
    .service-form {
        padding: 30px 15px;
    }
    .service-form h3 {
        font-size: 20px;
    }
    .service-form .form-group input,
    .service-form .form-group textarea {
        font-size: 0.85rem;
    }
    .service-form button {
        font-size: 0.85rem;
    }
    .service-img {
        bottom: 0;
        right: 0;
        width: 50px;
    }
    .service-img img {
        width: 100%;
    }
}

/* ---------------------- Toast (global) ----------------------*/

.toast {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    text-align: center;
    animation: slide-fade-in 0.8s ease-out, slide-fade-out 0.8s ease-in 2.3s;
}
@keyframes slide-fade-in {
    from {
        opacity: 0;
        top: -20px;
    }
    to {
        opacity: 1;
        top: 20px;
    }
}
@keyframes slide-fade-out {
    from {
        opacity: 1;
        top: 20px;
    }
    to {
        opacity: 0;
        top: -20px;
    }
}
.toast-success {
    background-color: #4caf50;
}
.toast-error {
    background-color: #f44336;
}
.toast-info {
    background-color: #2196f3;
}

/* ---------------------- Investment Table (investment page)----------------------*/
.investment {
    font-family: 'Ubuntu Sans', sans-serif;
    color: #333;
}
.investment .table-container {
    padding: 100px 150px 40px;
    background-color: #ededed;
    overflow-x: auto;
}
.investment .user-summary {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    color: black;
    background: #fed64e;
    border-radius: 12px;
    padding: 10px 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}
.investment .user-summary span {
    flex: 1 1 calc(25% - 15px);
    text-align: center;
}
.investment .user-summary span h4{
    margin: 0px;
    font-weight: 500;
}
.investment .user-summary span h2{
    margin: 0px;
    font-style: italic;
    font-weight: 800;
}
.investment .user-summary span h1{
    margin: 0px;
    font-style: italic;
    font-weight: 800;
    font-size: 30px;
}
.investment-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: 'Ubuntu Sans', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.investment .transaction-form h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
    /* color: #164a47; */
    color: black;
}
.investment-table thead {
    background-color: #164a47;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.investment-table th, 
.investment-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
}
.investment-table th {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.investment-table td {
    font-size: 14px;
    color: #051E29;
}
.investment-table tbody tr:nth-child(even) {
    background-color: #36f1e518;
}
.investment-table tbody tr:nth-child(odd) {
    background-color: #06afa423;
}
.investment-table tbody tr:last-child td {
    border-bottom: none;
}
@media (max-width: 1100px) {
    .investment .table-container {
        padding: 100px 70px 40px;
    }
}
@media (max-width: 800px) {
    .investment .user-summary {
        flex-wrap: wrap;
    }
}

.investment .table-container .transactions-table-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: black;
    /* background: #fed64e; */
    background: #164a4730;
    border-radius: 8px;
    padding: 10px 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 17px;
}
.transactions-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: 'Ubuntu Sans', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.transactions-table thead {
    background-color: #164a47;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.transactions-table th, 
.transactions-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
}
.transactions-table th {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.transactions-table td {
    font-size: 14px;
    color: #051E29;
}
.transactions-table tbody tr:nth-child(even) {
    background-color: #36f1e518;
}
.transactions-table tbody tr:nth-child(odd) {
    background-color: #06afa423;
}
.transactions-table tbody tr:last-child td {
    border-bottom: none;
}



.investment .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
}
.investment .pagination a {
    text-decoration: none;
    padding: 5px 3px;
    border: 1px solid #164a47;
    border-radius: 25px;
    color: #164a47;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.investment .pagination a:hover {
    background-color: #5cb46a;
    color: #fff;
    border-color: #5cb46a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.investment .pagination a.active {
    background-color: #164a47;
    color: #fff;
    border-color: #164a47;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.investment .pagination a.disabled {
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #ddd;
}
.investment .pagination a.pagination-arrow {
    padding: 0px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #164a47;
    color: #fff;
    border: none;
}
.investment .pagination a.pagination-arrow:hover {
    background-color: #5cb46a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.investment .pagination a.pagination-arrow i {
    font-size: 16px;
}

/* ---------------------- Transaction Form (investment details page)----------------------*/
.transaction-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.transaction-form h2 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #0C3135;
}
.transaction-form .form-group {
    margin-bottom: 15px;
}
.transaction-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #444;
}
.transaction-form input,
.transaction-form select,
.transaction-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}
.transaction-form button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.transaction-form button:hover {
    background-color: #0056b3;
}
@media (max-width: 1000px) {
    .investment .table-container{
        padding: 100px 40px 40px;
    }
}
@media (max-width: 768px) {
    .investment .user-summary span {
        flex: 1 1 100%;
    }
}

/* ---------------------- Transaction Table (investment page)----------------------*/

.transaction .table-container {
    padding: 0px 150px 100px;
    overflow-x: auto;
    background-color: #ededed;
}
.transaction-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: 'Ubuntu Sans', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.transaction .table-container h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: black;
    /* background: #fed64e; */
    background: #164a4730;
    border-radius: 8px;
    padding: 10px 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 17px;
}
.transaction-table thead {
    background-color: #164a47;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.transaction-table th, 
.transaction-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
}
.transaction-table th {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.transaction-table td {
    font-size: 14px;
    color: #051E29;
}
.transaction-table tbody tr:nth-child(even) {
    background-color: #36f1e518;
}
.transaction-table tbody tr:nth-child(odd) {
    background-color: #06afa423;
}
.transaction-table tbody tr:last-child td {
    border-bottom: none;
}
.transaction .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
}
.transaction .pagination a {
    text-decoration: none;
    padding: 5px 3px;
    border: 1px solid #164a47;
    border-radius: 25px;
    color: #164a47;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.transaction .pagination a:hover {
    background-color: #5cb46a;
    color: #fff;
    border-color: #5cb46a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.transaction .pagination a.active {
    background-color: #164a47;
    color: #fff;
    border-color: #164a47;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.transaction .pagination a.disabled {
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #ddd;
}
.transaction .pagination a.pagination-arrow {
    padding: 0px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #164a47;
    color: #fff;
    border: none;
}
.transaction .pagination a.pagination-arrow:hover {
    background-color: #5cb46a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.transaction .pagination a.pagination-arrow i {
    font-size: 16px;
}
@media (max-width: 1000px) {
    .transaction .table-container{
        padding: 0px 40px 65px;
    }
}

/* ---------------------- Scrollbar (gobal) ----------------------*/

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background: #184d49; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #287972; 
}

/* ---------------------- Register Page ----------------------*/
.register {
    background-color: #ededed;
    padding: 100px 100px 60px 100px;
}
.register-container{
    background: #fff;
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.register h1 {
    font-size: 35px;
    margin-bottom: 25px;
    text-align: center;
    color: #5cb46a;
}
.register h2 {
    font-size: 20px;
    color: #184e4a;
    margin: 15px 0px 0px 0px;
}
.register form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.register .form-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.register-icon{
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 1.2em;
}
.register-icon-2{
    position: absolute;
    right: 308px;
    color: #999;
    font-size: 1.2em;
}
.register input {
    padding: 14px 14px 14px 45px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: 0.3s ease;
    width: 100%;
}
.register input:focus {
    border-color: #5cb46a;
    box-shadow: 0 0 8px rgba(92, 180, 106, 0.3);
}
.register input[type="number"] {
    -moz-appearance: textfield;
}
.register input[type="date"] {
    padding: 12px 14px 12px 45px;
}
.register-submit-btn{
    background-color: #5cb46a;
    color: white;
    font-size: 17px;
    padding: 13px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.register-submit-btn:hover{
    background-color: #4fae5c;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.register input[type="date"] {
    position: relative;
    padding: 14px 14px 14px 45px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: 0.3s ease;
    width: 100%;
    background-color: #fff;
    cursor: pointer;
    color: transparent;
}
.register input[type="date"]::-webkit-datetime-edit,
.register input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    visibility: hidden;
}
.register input[type="date"]:valid,
.register input[type="date"]:valid::-webkit-datetime-edit,
.register input[type="date"]:valid::-webkit-datetime-edit-fields-wrapper {
    visibility: visible;
    color: inherit;
}
.register .date-label {
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #757575;
    transition: 0.3s ease;
    pointer-events: none;
    font-weight: 500;
    opacity: 1;
    visibility: visible;
}
.register input[type="date"]:focus + .date-label,
.register input[type="date"]:valid + .date-label {
    visibility: hidden;
    opacity: 0;
}
.register .form-group i.fa-calendar-alt {
    font-size: 18px;
    z-index: 2;
}

/* ---------------------- Dashboard Page ----------------------*/

.dashboard .table-container {
    padding: 100px 150px;
    overflow-x: auto;
    /* background-color: #ededed; */
}
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: 'Ubuntu Sans', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.dashboard .table-container h2 {
       text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: black;
    background: #fed64e;
    border-radius: 8px;
    padding: 10px 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 17px;
}
.dashboard-table thead {
    background-color: #164a47;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.dashboard-table th, 
.dashboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
}
.dashboard-table th {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.dashboard-table td {
    font-size: 14px;
    color: #051E29;
}
.dashboard-table td form button{
    border: 1px solid #67c176;
    background: #5cb46a;
    color: white;
    border-radius: 6px;
    padding: 5px 9px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.dashboard-table tbody tr:nth-child(even) {
    background-color: #36f1e518;
}
.dashboard-table tbody tr:nth-child(odd) {
    background-color: #06afa423;
}
.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}
.dashboard .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
}
.dashboard .pagination a {
    text-decoration: none;
    padding: 5px 3px;
    border: 1px solid #164a47;
    border-radius: 25px;
    color: #164a47;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.dashboard .pagination a:hover {
    background-color: #5cb46a;
    color: #fff;
    border-color: #5cb46a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.dashboard .pagination a.active {
    background-color: #164a47;
    color: #fff;
    border-color: #164a47;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.dashboard .pagination a.disabled {
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #ddd;
}
.dashboard .pagination a.pagination-arrow {
    padding: 0px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #164a47;
    color: #fff;
    border: none;
}
.dashboard .pagination a.pagination-arrow:hover {
    background-color: #5cb46a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.dashboard .pagination a.pagination-arrow i {
    font-size: 16px;
}

@media (max-width: 1200px) {
    .dashboard .table-container{
        padding: 100px 70px;
    }
}
@media (max-width: 768px) {
    /* .dashboard-table thead {
        display: none;
    }
    .dashboard-table tr {
        display: block;
        margin-bottom: 15px;
    }
    .dashboard-table td {
        display: block;
        text-align: right;
        font-size: 12px;
        position: relative;
        padding-left: 50%;
    }
    .dashboard-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
        text-transform: uppercase;
        font-size: 12px;
        color: #777;
    } */

    .dashboard .table-container{
        padding: 100px 30px;
    }
}


/* ---------------------- Transaction Form (dashboard page) ----------------------*/

.transaction-form {
    /* background-color: #164a4730; */
    background-color: #fed64e;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    margin: 100px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}
.transaction-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}
.transaction-form .form-group {
    margin-bottom: 20px;
}
.transaction-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #164a47;
    margin-bottom: 8px;
    display: block;
}
.transaction-form .form-group select{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
.transaction-form .form-group input,
.transaction-form .form-group textarea {
    width: 95%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
.transaction-form .form-group input:focus,
.transaction-form .form-group select:focus,
.transaction-form .form-group textarea:focus {
    outline: none;
    border-color: #164A47;
    box-shadow: 0 0 10px #164a4783;
}
.transaction-form .form-group textarea {
    resize: vertical;
}
.transaction-form button {
    background-color: #164A47;
    color: white;
    border: none;
    padding: 8px 0px;
    font-size: 16px;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.transaction-form button:hover {
    background-color: #0d3634;
}
.transaction-form button:active {
    background-color: #0d3634;
}
.transaction-form button:focus {
    outline: none;
}
.transaction-form  .form-group input,
.transaction-form .form-group select,
.transaction-form .form-group textarea {
    background-color: #fff;
    color: #333;
    font-size: 16px;
}
@media (max-width: 768px) {
    .transaction-form {
        padding: 20px;
    }
}




.property-filter .custom-select {
    position: relative;
    display: inline-block;
    width: 200px;
}
.property-filter label{
    font-size: 14px
}
.property-filter .custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}
.property-filter .custom-select .custom-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}
/* Hover and focus effects */
.property-filter .custom-select select:hover {
    border-color: #888;
}
.property-filter .custom-select select:focus {
    border-color: #144443;
    box-shadow: 0 0 5px #1444439d;
}