body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container, .dashboard-container {
    width: 90%; 
    max-width: 1000px; 
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.login-frame {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
}

.login-frame h2, .container h2, .dashboard-container h2 {
    margin-bottom: 20px;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.button-group, .actions {
    text-align: center;
}

.button-group .btn, .actions .btn, .btn-back, .btn-logout {
    padding: 10px 15px;
    margin: 5px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button-group .btn:hover, .actions .btn:hover, .btn-back:hover, .btn-logout:hover {
    background: #0056b3;
}

.captcha {
    display: flex;
    align-items: center;
}

.captcha label {
    margin-right: 10px;
}

.error-message {
    color: red;
    margin-bottom: 20px;
}

.dashboard-container table, .container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.dashboard-container th, .container th {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    text-align: left;
}

.dashboard-container td, .container td {
    padding: 10px;
    text-align: left;
    background-color: #f9f9f9;
}

.dashboard-container tr:nth-child(even) td, .container tr:nth-child(even) td {
    background-color: #f1f1f1;
}

.dashboard-container .actions .btn, .container .actions .btn {
    padding: 5px 10px;
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-bottom: 5px; 
}

.dashboard-container .actions .btn:hover, .container .actions .btn:hover {
    background: #0056b3;
}


.chat-box {
    border: 1px solid #ccc;
    padding: 10px;
    width: 300px;
    height: 400px;
    overflow-y: scroll;
    margin-bottom: 10px;
}

.chat-messages {
    height: 350px;
    overflow-y: scroll;
}

textarea {
    width: 100%;
    height: 50px;
    resize: none;
}


