/* body{
    margin: 0;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
    radial-gradient(circle at top,#111827,#020617 70%);

   
    background-size: 28px 28px;
    font-family: "Share Tech Mono", monospace;

    overflow: hidden;

    color: white;
} */
body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(circle at top, #111827, #020617 70%);

    font-family: "Share Tech Mono", monospace;

    overflow-x: hidden;

    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 65px;

    letter-spacing: 12px;

    text-transform: uppercase;

    margin-bottom: 60px;

    color: #ffffff;

    font-weight: 400;

    text-shadow:
        0 0 8px rgba(124, 58, 237, 0.5);
}

.panels {
    display: flex;

    align-items: center;

    gap: 50px;
}

.enc,
.denc {
    width: 380px;

    padding: 35px;

    border-radius: 24px;

    background: rgba(15, 23, 42, 0.75);

    border: 1px solid rgba(124, 58, 237, 0.25);

    backdrop-filter: blur(20px);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(124, 58, 237, 0.15);

    transition: 0.3s ease;
}

.enc:hover,
.denc:hover {
    transform: translateY(-6px);

    border: 1px solid rgba(124, 58, 237, 0.5);

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(124, 58, 237, 0.25);
}

h2 {
    font-size: 20px;

    letter-spacing: 4px;

    margin-bottom: 30px;

    color: #c4b5fd;

    text-transform: uppercase;
}

input {
    width: 100%;

    padding: 16px;

    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(2, 6, 23, 0.9);

    color: white;

    font-size: 15px;

    outline: none;

    margin-bottom: 22px;

    box-sizing: border-box;

    font-family: "Share Tech Mono", monospace;

    transition: 0.3s;
}

input:focus {
    border: 1px solid #7c3aed;

    box-shadow:
        0 0 15px rgba(124, 58, 237, 0.35);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

button {
    width: 100%;

    padding: 15px;

    border-radius: 14px;

    border: 1px solid rgba(124, 58, 237, 0.4);

    background: rgba(124, 58, 237, 0.12);

    color: #e9d5ff;

    font-size: 15px;

    letter-spacing: 3px;

    text-transform: uppercase;

    cursor: pointer;

    transition: 0.3s ease;

    font-family: "Share Tech Mono", monospace;
}

button:hover {
    background: #7c3aed;

    color: white;

    transform: translateY(-3px);

    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.45);
}

#encrypt-result,
#decrypt-result {
    margin-top: 25px;

    min-height: 120px;

    border-radius: 20px;

    padding: 18px;

    background: rgba(2, 6, 23, 0.95);

    border: 1px solid rgba(255, 255, 255, 0.05);

    color: #c4b5fd;

    font-size: 14px;

    line-height: 1.8;

    word-break: break-word;

    box-sizing: border-box;
}

.divider {
    width: 1px;

    height: 340px;

    background:
        linear-gradient(transparent,
            rgba(124, 58, 237, 0.6),
            transparent);
}

#encrypt-result,
#decrypt-result {
    margin-top: 25px;

    min-height: 90px;

    border-radius: 20px;

    padding: 18px;

    background: rgba(2, 6, 23, 0.95);

    border: 1px solid rgba(255, 255, 255, 0.05);

    color: #c4b5fd;

    font-size: 14px;

    line-height: 1.8;

    word-break: break-word;

    box-sizing: border-box;

    position: relative;
}

.copy-icon {
    position: absolute;

    top: 14px;
    right: 14px;

    background: transparent;

    border: none;

    color: rgba(255, 255, 255, 0.35);

    font-size: 16px;

    cursor: pointer;

    padding: 0;

    width: auto;

    transition: 0.2s ease;
}

.copy-icon:hover {
    color: rgba(255, 255, 255, 0.75);

    background: transparent;

    transform: none;

    box-shadow: none;
}

.result-box {
    position: relative;
}



#encrypt-time {
    margin-top: 12px;

    font-size: 15px;

    color: rgba(255, 255, 255, 1);

    letter-spacing: 1px;
}




@media (max-width: 768px) {

    body {
        height: auto;

        padding: 40px 20px;
    }

    .container {
        width: 100%;
    }

    h1 {
        font-size: 38px;

        letter-spacing: 6px;

        text-align: center;

        margin-bottom: 40px;
    }

    .panels {
        flex-direction: column;

        gap: 30px;
    }

    .divider {
        display: none;
    }

    .enc,
    .denc {
        width: 100%;

        max-width: 350px;

        padding: 24px;
    }

    input {
        font-size: 14px;
    }

    button {
        font-size: 13px;
    }

    #encrypt-result,
    #decrypt-result {
        min-height: 90px;

        font-size: 13px;
    }

}