
/* General Styles */
body {
    font-family: Arial, sans-serif;
    height: 100vh;
    margin: 0;
    background-color: #f7f9fc;
}

/* Center Content */
.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Button Styles */
.button-container {
    text-align: center;
}

.entry-button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.entry-button:hover {
    transform: scale(1.05);
}

a.entry-button {
    color: white;
    background-color: #007BFF;
}

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

/* Form Styles */
.form-container {
    width: 60%;
    margin: 5% auto; /* Center the form vertically and horizontally */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    word-wrap: break-word;
}

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

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

img {
    width: 100%;
    height: auto;
}

.middle-image {
    width: 400px;
    height: auto;
}

.small-image {
    width: auto;
    height: 150px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.one-width {
    width: 1em !important; /* or any other value */
}

.two-width {
    width: 2em !important; /* or any other value */
}

.ten-width {
    width: 10em !important;
}

.question-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.question-image, .option-image {
    max-width: 300px;   /* Adjust this value as needed */
    max-height: 300px; /* Adjust this value as needed */
    width: auto;
    height: auto;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-delete {
    background-color: #dc3545;
}

.btn-delete:hover {
    background-color: #c82333;
}

.buttons-colvis {
    background-color: #007BFF;  /* Change this to your blue color */
    border-color: #007BFF;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.buttons-colvis:hover, 
.buttons-colvis:focus {
    background-color: #0056b3;  /* Darker blue for hover/focus effect */
    border-color: #004085;
}

.btn-danger {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

/* Alert */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.highlighted-promo {
    border: 2px solid #ffc107;
    padding: 15px;
    font-size: 1.5em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px 0;
    background-color: #fff3cd; /* A light yellow background */
}

.question-link {
    margin-right: 10px;
}