/* General Form Styles */
.bon2crf-form-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bon2crf-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.bon2crf-form-container .form-group {
    margin-bottom: 15px;
}

.bon2crf-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.bon2crf-form-container input[type="text"],
.bon2crf-form-container input[type="email"],
.bon2crf-form-container input[type="date"],
.bon2crf-form-container input[type="file"],
.bon2crf-form-container textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
}

.bon2crf-form-container textarea {
    height: 100px;
    resize: vertical;
}

.bon2crf-form-container button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.bon2crf-form-container button:hover {
    background-color: #005f8d;
}

.bon2crf-form-container .success {
    color: green;
    margin-top: 10px;
}

.bon2crf-form-container .error {
    color: red;
    margin-top: 10px;
}

/* Admin Page Styles */
.wrap h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.nav-tab-wrapper {
    margin: 20px 0;
}

.nav-tab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
}

.nav-tab-active {
    background-color: #0073aa;
    color: #fff;
}

.bon2crf-tab-content {
    display: none;
}

.wp-list-table th, .wp-list-table td {
    padding: 8px;
    text-align: left;
    width: 140px;
}

.wp-list-table th {
    background-color: #f1f1f1;
}

.wp-list-table td img {
    width: 50px;
    height: 50px;
}

.bon2crf-actions {
    display: flex;
    gap: 10px;
}
.bon2crf-submission-count {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background: #ff4c4c; /* Alert kind of red */
    color: #fff;
    border: 1px solid #ff0000;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.bon2crf-export-btn {
    display: inline-block;
    float: right; /* Align the button to the right */
    background-color: #ff0000; /* Set background color to red */
    color: #ffffff; /* Text color */
    font-weight: bold; /* Make the text bold */
    padding: 10px 20px; /* Add padding for better appearance */
    border-radius: 5px; /* Optional: round the corners */
    text-decoration: none; /* Remove underline */
}

.bon2crf-export-btn:hover {
    background-color: #cc0000; /* Darker red on hover */
}
