body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: start;
    flex-direction: column;

    background: linear-gradient(135deg, #093981, #102954, #6882d7);

}


.nav {
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    color: black;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav img {
    height: 60px;
}

.container {
    margin-top: 50px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 50px;
    text-align: center;
}

.emoji {
    position: relative;
    margin-right: 5px;
    top: -3px;
}


form {
    display: flex;
    flex-direction: column;
}

input {
    margin-top: 2px;
    border-radius: 10px;
    background-color: rgb(238, 234, 234);
    margin-bottom: 12px;
    padding: 8px;

}


button:hover {
    background: #0056b3;
}

#downloadBtn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 100%;
    background-color: gray;
    color: #fff;
    cursor: not-allowed;
    margin-bottom: 10px;
    transition: 0.2s ease-in-out;
}


#downloadBtn.enabled:hover {
    background-color: #27ae60;
}


#downloadBtn.enabled {
    background-color: #2ecc71;
    cursor: pointer;
}

#processBtn {
    margin-bottom: 10px;
    transition: 0.2s ease-in-out;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: #fff;
    cursor: pointer;
}

#processBtn:hover {
    background-color: #2688ca;
}

#toggleLogsBtn {
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
    border: none;
    border-radius: 5px;
    background-color: #555;
    color: white;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

#toggleLogsBtn:hover {
    background-color: #333;
}

#logBox {
    margin: 0;
    width: 100%;
    height: 80px;
    display: none;
    /* hidden by default */
    resize: none;
    padding: 7px;
    font-family: monospace;
    font-size: 0.7rem;
    background-color: #111;
    color: #00ff88;
    border-radius: 5px;
    border: none;
    overflow-y: auto;
}

#logContainer {
    display: flex;
    justify-content: center;
}

#logoutBtn {

    margin-left: 10px;
    position: relative;
    bottom: 0px;
    height: 40px;
    padding: 8px 20px;
    /* keep a small clickable area */
    cursor: pointer;

    /* remove focus outline */
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background-color: rgb(250, 68, 68);
    /* red background */
    color: white;
    border-radius: 20px;
    transition: all 0.2s
}

#logoutBtn:hover {
    /* enlarge 20% on hover */
    background-color: red;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* optional subtle shadow */
}

#logoutBtn:focus {
    outline: none;
    /* remove focus highlight */
    box-shadow: none;
}

#loginForm {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#loginForm>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#loginForm input {
    width: 100%;
    margin-bottom: 30px;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 8px;
    border: 2px solid #ccc;
    outline: none;
    transition: all 0.25s ease;
    background: #f9f9f9;
}

#loginForm input:focus {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
}

#loginFOrm input::placeholder {
    color: #999;
}

.formLbl {
    width: 100%;
}

#loginBtn {
    padding: 8px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
    height: 40px;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
}

#loginBtn:hover {
     background-color: #2688ca;
}

/* responsiveness */

@media (max-width: 850px) { 

    .nav h1 {
        font-size: 1.5rem;
    }

    .nav img {
        height: 40px;
    }

    #logoutBtn {
        font-size: 0.7rem;
        height: 30px;
    }


}


@media (max-width: 600px) { 

    .nav h1 {
        font-size: 1.2rem;
    }

    .nav img {
        height: 30px;
    }

    #logoutBtn {
        font-size: 0.6rem;
        height: 26px;
    }

    .container {
        width: 80%;
    }


}