/* Header and Logout Button */
header {
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
}

.logout-button {
    background-color: #dc3545;
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logout-button:hover {
    background-color: #c82333;
}


.green-button {
    background-color: #35dc43;
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.green-button:hover {
    background-color: #23c844;
}


/* Responsive Design */
@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .logout-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 20px;
    margin-top: 80px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    width: 95%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.input-group textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    .container {
        padding: 20px;
        margin-top: 60px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 14px;
        padding: 10px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }
}


.log-container {
    width: 500px;
    height: 400px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    overflow-y: auto;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.log-message {
    background: #282828;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 14px;
}

.log-message.info { color: #4CAF50; }  /* Green */
.log-message.warning { color: #FFC107; }  /* Yellow */
.log-message.error { color: #F44336; }  /* Red */

.log-message a {
    color: inherit !important;
    text-decoration: none;
}

.log-message a:hover {
    text-decoration: underline;
}