﻿.login-screen {
    max-width: 1000px;
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
}
.btn-login{
    display:block;
    margin:auto;
}
.form-login-box{
    text-align:center;
}
.form-login-box label, .form-login-box label input {
    width: 100%;
    text-align: center;
    width: 100%;
    margin: 20px auto;
    display: block;
}

    .form-login-box label input {
        margin: 5px auto;
        padding: 10px;
        border-radius: 8px;
        outline: none;
        border: 1px solid var(--main-brown);
        display: block;
        max-width: 340px;
    }

.form-login-box h1 {
    margin-bottom: 20px;
}

.form-login-box a {
    display: block;
    text-align: center;
}
.login-alert {
    border: 1px solid black;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    max-width: 80%;
    margin: auto;
    background-color:#d2d2d2;
}

    .login-alert p {
        margin: 0;
        padding: 10px;
        color:red;
    }


.members-main {
    background-color: #eeeeee;
}

.negative-amount {
    color: darkred;
}

.positive-amount {
    color: darkgreen;
}

.payment-msg-box {
    max-width: 800px;
    width: 100%;
    display: grid;
    margin: 20px auto;
    background-color: #D2D2D2;
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid black;
}

    .payment-msg-box p, .payment-msg-box span {
        padding: 10px;
        margin: 0;
    }

    .payment-msg-box p {
        font-weight: 700;
    }

.account-header {
    display: block;
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    margin-top: 20px;
}

    .account-header + p {
        text-align: center;
        padding: 15px;
    }

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid black;
    margin-bottom: 20px;
    flex-wrap: wrap; 
    width: 100%;
}

.left-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.right-section {
    margin-left: auto; 
    display: flex;
    gap: 10px;
    align-items: center;
}

.course-details p {
    font-weight: 700;
    margin: 0;
}



.payment-records-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 30px;
}

.gridView {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid grey;
}

    .gridView thead, .gridView tbody {
        display: block;
        width: 100%;
    }

    .gridView thead {
        background-color: inherit;
    }

    .gridView tbody {
        height: 300px;
        overflow-y: auto;
        display: block;
        padding: 10px;
    }

    .gridView tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .gridView th, .gridView td {
        padding: 8px;
        text-align: left;
        width: 40%;
        box-sizing: border-box;
    }

        .gridView td:last-child, 
        .gridView th:last-child {
            text-align: right;
            width: 20%;
        }

    .gridView tbody::-webkit-scrollbar {
        width: 4px;
    }

    .gridView tbody::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .gridView tbody::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .gridView tbody::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.table-header {
    font-weight: bold;
}

.payment-summary > * {
    display: block;
    margin-bottom: 10px;
}


.upload-btn {
    background: linear-gradient(to right, #8b3e00, #592d00);
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
}

    .upload-btn:hover {
        background: linear-gradient(to right, #a34d00, #733700);
    }
.user-accounts td, .user-accounts th {
    text-align: center !important;
    vertical-align: middle !important;
    width:auto;
}


.admin-under-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin:30px 0;
   
}

.admin-under-table-left {
    text-align: left;
}

.admin-under-table-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    gap: 10px; 
}





.custom-file-upload {
    border: 1px solid #ccc;
    padding: 15px;
    cursor: pointer;
    background-color: #f8f8f8;
    border-radius: 4px;
    font-weight: bold;
}

    .custom-file-upload:hover {
        background-color: #ddd;
    }

.file-name {
    width: 100%;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
    display: block;
}
.account-details-box {
    display: block;
    position: relative;
    top: 0;
    max-width: 1000px;
    width: 100%;
    margin: auto;
}
.admin-update-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-bottom: 1px solid black;
    margin-bottom: 20px;
    height:130px;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
}

    .admin-update-box p {
        margin: 0;
        padding: 0;
        font-weight: 700;
        display:contents;
    }

    .admin-update-box form {
        display: block;
        
    }
.file-upload-wrapper div:first-child {
    gap: 10px;
    display: flex ;
    justify-content: flex-end;
}