* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    outline: none;
    user-select: none;
    user-zoom: none;
    font-family: Arial;
}
:root {
    --bg: #000;
    --container: rgba(0, 65, 96, 0.257);
    --border: rgba(139, 169, 183, 0.887);
}

body {
    background: #000;
    color: #fff;
    font-weight: 900;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    width: 550px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    margin: 1rem auto;
    border-style: double;
    border-width: 2px;
    border-color: var(--border);
    background: var(--container);
    border-radius: 6px;
}
.container h3 {
    margin: 0.3rem auto;
    text-align: center;
    color: var(--border);
}
.container .array-container {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 90%;
    height: 50px;
    padding: 0;
    margin: 0 auto;
    /* border-radius: 5px; */
    outline: none;
    border: 0.1px solid var(--border);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow-x: auto;
    overflow-y: hidden;
}
.array-container span {
    width: 95%;
    min-width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-right: 0.1px solid var(--border);
}
.array-container span input {
    outline: none;
    border: none;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}
:last-child(span) {
    border: 1px solid red;
}
.container .oparation {
    width: 90%;
    height: 100%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0.1px solid var(--border);
    overflow-y: auto;
}
.oparation #msg {
    width: 100%;
}
.oparation .error {
    width: 100%;
    background: rgba(191, 7, 0, 0.758);
    color: #fff;
    border-radius: 3px;
    border: 0.1px solid var(--border);
    padding: 0.5rem 1rem;
    margin: 0.5rem auto;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
}
.oparation .success {
    width: 100%;
    background: rgba(0, 148, 24, 0.758);
    color: #fff;
    border-radius: 3px;
    border: 0.1px solid var(--border);
    padding: 0.5rem 1rem;
    margin: 0.5rem auto;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
}
.oparation .action {
    width: 100%;
    margin: 0.2rem auto;
}
.action .flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin: 0.1rem auto;
    gap: 1rem;
}
.flex p {
    color: var(--border);
    font-size: 14px;
    font-weight: 500;
}
.flex input {
    outline: none;
    border: none;
    border-bottom: 0.1px solid var(--border);
    color: var(--border);
    background: transparent;
    font-weight: 400;
    font-size: 13px;
    padding: 0.5rem 1rem;
    width: 60%;
}
.flex input:focus {
    border-bottom: 1.7px solid #29b5ff;
}
.flex #disabled-input {
    outline: none;
    border: none;
}
.action .flex button {
    outline: none;
    border: 0.1px solid var(--border);
    border-radius: 3px;
    color: var(--border);
    background: transparent;
    font-weight: 400;
    font-size: 13px;
    padding: 0.5rem 0.7rem;
    margin: 0.5rem auto;
    width: 30%;
}
/*------> Mobile Responsive UI <-----*/
@media (max-width: 768px) {
    .container {
        width: 100%;
        height: 100%;
    }
    .container .array-container {
        width: 100%;
    }
    .array-container span {
        min-width: 20%;
    }
    .container .oparation {
        width: 100%;
    }
}
