/*------login page---------*/
.login {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
}
.login-container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
}
.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.login-container form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}
.login-container input[type="text"], .login-container input[type="password"] {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.login-container button[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}
.login-container button[type="submit"]:hover {
    background-color: #45a049;
}
.login-container .error-message {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

/*------index page---------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header-section {
    background-color: #006f62;
    padding: 8px 20px;
    border-bottom: 2px solid #078e07;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logout-btn {
    padding: 5px 12px;
    background-color: #078e07;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.header-text {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    flex-grow: 1;
    color: #ffffffe8;
}
.logo {
    height: 45px; /* Adjust the logo height */
    margin-right: 20px; /* Add some space between the logo and the text */
}


.section-block {
    margin: 100px 0 60px 10%;
}
.section-block .result {
    margin-top: 10px;
}
#result-numbers {
    font-size: 14px;
}
#result-words {
    font-weight: bold;
    font-size: 14px;
}
.section-block .error-field{
    display: none;
    color: red;
    font-size: 12px;
    margin-left: 14%;
}
#submitBtn {
    background-color: #078e07;
    color: white;
    cursor: pointer;
    margin: 10px 0 0 0;
    padding: 5px 10px;
}
#numbers-input {
    padding: 5px;
}
.copy-button {
    padding: 3px 8px;
    /*cursor: copy;*/
    cursor: pointer;
    margin-left: 10px;
    display: none;
    font-size: 13px;
    background-color: #078e07;
    color: #ffffff;
}
.result-copy {
    margin-left: 10px;
}
#copy-button-calc {
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
}

@media only screen and (max-width: 600px) {
    .section-block {margin: 50px 0 0 20px;}
    #numbers-input {padding: 5px;}
}

/*------calculator--------*/
.calc-title {
    text-align: center;
    margin-top: 30px;
    font-size: 22px;
}
#calculator {
    width: 22%;
    margin: 50px auto;
}
.calculator-inp {
    width: 100%;
    height: 40px;
    text-align: right;
    font-size: 24px;
    margin-bottom: 10px;
    border: 1px solid #000000;
    color: #000000;
    padding-right: 10px;
}
.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.calculator-buttons .btn {
    padding: 16px 20px;
    font-size: 25px;
    background-color: #078e07;
    border: none;
    cursor: pointer;
    color: #ffffff;
}
.calculator-buttons .btn:hover {
    background-color: #078e07a6;
}

#equal {
    grid-column: span 2;
    background-color: #078e07;
    color: white;
}
#clear {
    grid-column: span 2;
    background-color: #078e07;
    color: white;
}
.calculator-div {
    display: flex;
    align-items: center;
}
.calculator-tooltip {
    display: none;
    position: absolute;
    background-color: #000000;
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    top: 60%;
    left: 61%;
    transform: translateX(-50%);
    white-space: nowrap;
}
#copy-button-calc:hover + .calculator-tooltip {
    display: block;
}
.calculator-div:hover .calculator-tooltip {
    display: block;
}

/*-------feedback-----------*/
.feedback-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 35px auto;
    border: 1px solid #000000;
}
.feedback-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
}
.feedback-form form {
    display: flex;
    flex-direction: column;
}
.feedback-form label {
    margin-bottom: 5px;
    font-weight: bold;
}
.feedback-form input,
.feedback-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    /*border: 1px solid #ccc;*/
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #000000;
}
.feedback-form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #078e07;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.feedback-form button:hover {
    background-color: #45a049;
}

/*---------footer-----------*/
.footer {
    background-color: #006f62;
    padding: 10px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
}







