* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Sanchez", "Epunda Slab", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
}

/* GENERAL */
:root {
    --main-color: rgb(0, 120, 120);
    --secondary: rgba(0, 120, 120, 0.8);
    --dark: black;
}

.over::-webkit-scrollbar,
.tablediv::-webkit-scrollbar {
    width: 2px;
    height: 7px;
}

.over::-webkit-scrollbar-thumb,
.tablediv::-webkit-scrollbar-thumb {
    background-color: rgb(150, 0, 0);
    border-radius: 5px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.df {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: flex-start;
}

.body {
    width: 100%;
    height: 91vh;
    background: linear-gradient(145deg, white, var(--main-color));
    padding: 1px;
    display: flex;
    justify-content: space-evenly;
}

.imgdiv {
    margin: auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.imgdiv img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.red {
    color: red;
}

.black {
    color: black;
}

.blue {
    color: blue;
}

.white {
    color: white;
}

.purple {
    color: purple;
}

.green {
    color: green;
}

.gold {
    color: gold;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.italic {
    font-style: italic;
}

p {
    font-size: 12px;
    font-weight: 400;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: white;
}

.span {
    width: 98%;
    display: block;
    text-align: center;
    font-size: 12px;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    font-weight: 500;
    padding: 3px 0;
    margin: auto;
}

.formdiv {
    padding: 0 3px;
}

.myForm {
    border: 1px solid black;
    border-radius: 10px;
    box-shadow: 0 0 25px 2px rgba(15, 15, 15, 0.5);
    padding-bottom: 3px;
    overflow: hidden;
    background-color: white;
}

.myForm h3 {
    background-color: var(--main-color);
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.aa {
    width: 96%;
    display: flex;
    justify-content: space-evenly;
    overflow: hidden;
    border: 1px solid black;
    border-radius: 5px;
    height: 30px;
    margin: auto;
    margin-top: 5px;
}

.aa label {
    width: 30%;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    background: linear-gradient(135deg, white, var(--main-color));
    color: black;
    text-align: right;
    align-items: center;
}

.aa input,
.aa select {
    width: 70%;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: darkblue;
    border: none;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}

.aa input:focus,
.aa select:focus {
    outline: none;
    border: 1px solid blue;
    border-radius: 0 5px 5px 0;
    background-color: yellow;
}

.border {
    border: 1px solid black;
    border-radius: 5px;
}

.updown {
    width: 94%;
    margin: 4px auto;
    /* margin-top: 5px; */
}

.updown>label {
    padding: 1px 10px;
    font-size: 12px;
    font-weight: 400;
}

.updown>select,
.updown>input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid black;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    color: darkblue;
    outline: none;
}

.updown input:focus,
.updown select:focus,
.updown button:focus {
    border: 1px solid red;
    border-radius: 5px;
    color: black;
}

.btndiv {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    padding: 5px;
    height: auto;
    margin-top: 5px;
}

.btndiv input:focus {
    background: linear-gradient(45deg, white, var(--main-color));
}

.btndiv input {
    width: 40%;
    padding: 9px 2px;
    background: linear-gradient(135deg, var(--main-color), white);
    color: blue;
    border: 1px solid black;
    border-radius: 10px;
    margin: auto;
    margin-bottom: 10px;
    outline: none;
    font-size: 13px;
    font-weight: bold;
}

.btndiv .btnupdate {
    background: linear-gradient(45deg, var(--main-color), white, var(--main-color));
    color: red;
}

.btnedit {
    padding: 1px 7px;
    border: 1px solid black;
    border-radius: 3px;
    color: red;
    background: linear-gradient(135deg, var(--main-color), white);
}

.btnedit:hover,
.aa button:hover,
.btnadd:hover,
.btnupdate:hover {
    cursor: pointer;
    background: linear-gradient(135deg, white, var(--main-color));
    color: black;
}

.btndiv .btndel {
    color: red;
}

.btndel:hover {
    background: linear-gradient(180deg, var(--main-color), rgb(200, 0, 0), var(--main-color));
    color: white;
}


.hidden {
    display: none;
}

#hidden {
    display: none;
}

.boxshadow {
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 2px 10px 20px 2px rgba(14, 14, 14, 0.7);
}

.iddate {
    display: flex;
    justify-content: space-between;
    width: 96%;
    margin: auto;
    margin-top: 5px;
}

.iddate input {
    border: none;
    outline: none;
    padding: 5px;
    margin-left: 1px;
    font-size: 10px;
    width: 55%;
    border: 1px solid black;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.iddate input:first-child {
    width: 40%;
}

.over {
    overflow: auto;
}

form .underline {
    width: 80%;
    border-bottom: 2px solid whitesmoke;
    display: flex;
    margin: auto;
    margin-top: 30px;
    height: 30px;
    position: relative;
}

.underline i {
    width: 15%;
    font-size: 20px;
    color: white;
}

.underline input {
    width: 85%;
    border: none;
    outline: none;
    background-color: rgba(255, 255, 255, 0.0);
    font-size: 15px;
}

form .underline p {
    position: absolute;
    right: 5px;
    top: -15px;
    text-align: right;
}

.underline input:focus {
    background-color: rgba(255, 255, 255, 0.0);
}

.btnlogin:hover {
    background-color: yellow;
    color: black;
    cursor: pointer;
}

.icon i {
    padding: 5px 10px;
    font-size: 20px;
}

.pr {
    position: relative;
}

.pa {
    position: absolute;
    top: 2px;
}

/* Radio Card */

.radio-group {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
}

.radio-card {
    position: relative;
}

.radio-card input {
    display: none;
}

.radio-card label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
    background: #f0f0f0;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 12px;
}

.radio-card input:checked+label {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: white;
    box-shadow: 0 5px 10px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.radio-card label:hover {
    background: #e0e7ff;
}

/* Transation View */
.card_t {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32%;
    height: 19vh;
    margin: 2px;
    overflow: hidden;
    padding: 2px;
}

.imagediv {
    width: 100px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bimagediv img,
.imagediv img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media only screen and (max-width: 900px) {

    /* Account */
    .viewdiv .card-div {
        width: 100%;
        height: auto;
    }

    /* billView */
    .card {
        width: 23%;
    }

    /* TranView */

    .big {
        width: 60%;
    }

    .over {
        width: 40%;
        flex-direction: column;
        align-items: center;
    }

    .card_t {
        width: 98%;
        height: auto;
    }

    /* Exchangepage */
    .brands {
        width: 150px;
    }

    /* ADMIN Register */
    .body .formdiv {
        width: 50%;
    }

    .body .tablediv {
        width: 49%;
    }

}


@media only screen and (max-width: 600px) {
    .over .myForm {
        width: 100%;
    }

    /* Account */
    .viewdiv .card-div {
        border: none;
    }

    .card-div>.card {
        width: 100%;
    }

    .raccount>.raccount-form {
        width: 100%;
    }

    /* parent */
    body .header {
        height: auto;
        padding: 3px;
    }

    .header>div {
        width: 65%;
    }

    .header .timeupdate {
        width: 35%;
        font-size: 12px;
    }

    .day {
        display: none;
    }

    .header .setting {
        width: 100%;
        border-top: 1px solid white;
    }

    /* billView */

    .card {
        width: 30%;
    }

    /* welcome */
    .section h1 {
        font-size: 22px;
    }

    .third {
        height: auto;
    }

    .contact {
        width: 40%;
    }

    /* TranView */

    .big,
    .over {
        width: 100%;
        height: auto;
    }

    .bimagediv {
        height: auto;
    }

    /* Exchangepage */
    .brands-group {
        height: auto;
    }

    .brands {
        width: 120px;
    }

    /* ADMIN Register */
    .body {
        flex-wrap: wrap;
        height: auto;
    }

    .body .formdiv {
        width: 100%;
    }

    .body .tablediv {
        width: 100%;
    }
    .tablediv .myForm{
        height: 300px;
    }
}
