/* Register css */
.register-page {
    padding: 0;
    margin: 0; /* Remove negative margins */
    /* Removed min-height: 100vh to eliminate bottom gap */
}

.register-header {
    padding: 5px 0; /* Further reduced */
    text-align: center;
}

.register-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2px; /* Further reduced */
}

.notice-bar {
    padding: 2px 0; /* Further reduced */
    margin-bottom: 5px; /* Further reduced */
    font-size: 14px;
}

.register-title {
    color: #2a5f0e;
    font-size: 30px; /* Further reduced */
    margin: -0px 0; /* Further reduced */
    font-weight: normal;
    padding-bottom: 20px;
    padding-top: 10px; /* Further reduced */
}

.form-group {
    margin-bottom: 6px; /* Further reduced */
    display: table;
    width: 100%;
}

.form-label {
    display: table-cell;
    width: 150px;
    vertical-align: top;
    color: #2a5f0e;
    font-weight: bold;
    font-size: 14px;
    padding-top: 2px; /* Reduced */
}

.form-control-wrapper {
    display: table-cell;
    vertical-align: top;
}

.form-control {
    width: 300px;
    padding: 4px; /* Reduced */
    border: 1px solid #999;
    background-color: white;
    font-size: 14px;
    box-sizing: border-box;
}

select.form-control {
    width: 200px;
    padding: 2px 4px; /* Reduced */
}

.help-text {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 2px; /* Reduced */
}

.error-list {
    color: #cc0000;
    font-size: 12px;
    margin: 2px 0 0 0; /* Reduced */
    padding: 0;
    list-style: none;
}

/* Rich text editor styling */
.editor-wrapper {
    background-color: white;
    border: 1px solid #999;
    width: 600px;
}

.editor-toolbar {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
    padding: 2px; /* Reduced */
    display: flex;
    gap: 1px; /* Reduced */
    flex-wrap: wrap;
    align-items: center;
}

.editor-toolbar select {
    padding: 2px 4px;
    border: 1px solid #999;
    background-color: white;
    font-size: 11px;
    height: 24px;
}

.editor-toolbar button {
    padding: 2px 6px;
    border: 1px solid #999;
    background-color: white;
    cursor: pointer;
    font-size: 12px;
    height: 24px;
    min-width: 24px;
}

.editor-toolbar button:hover {
    background-color: #e0e0e0;
}

.toolbar-separator {
    width: 1px;
    height: 20px;
    background-color: #999;
    margin: 0 2px;
}

.editor-content {
    min-height: 100px; /* Further reduced */
    padding: 6px; /* Further reduced */
    outline: none;
    font-size: 14px;
    font-family: Arial, sans-serif;
}




.submit-button {
    background-color: #1a1717ff;
    color: white;
    padding: 6px 16px; /* Reduced */
    border: 1px solid #4a7a2a;
    cursor: pointer;
    font-size: 14px;
    margin-left: 150px;
    margin-top: 8px; /* Further reduced */
}

.submit-button:hover {
    background-color: #1a1a1aff;
}

/* Custom Quill Editor Styling */
.quill-wrapper {
    margin-bottom: 4px; /* Further reduced */
}

.ql-toolbar.ql-snow {
    padding: 4px; /* Further reduced */
}

.ql-container.ql-snow {
    border: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.ql-editor {
    min-height: 100px; /* Further reduced */
    padding: 6px; /* Further reduced */
}

.ql-snow .ql-picker {
    color: #444;
}

.ql-snow .ql-stroke {
    stroke: #444;
}

.ql-snow .ql-fill {
    fill: #444;
}

.ql-toolbar button:hover {
    background-color: #e0e0e0 !important;
}

.ql-toolbar button.ql-active {
    background-color: #d0d0d0 !important;
}

/* Additional compact styling */
body {
    margin: 0;
    padding: 0;
}

/* Remove any default margins on the page wrapper if it exists */
.page-wrapper {
    margin: 0;
    padding: 0;
}

textarea.form-control {

    resize: vertical !important; /* Allow vertical resizing only */
    height: 32px !important;
    overflow-y: auto !important; /* Show scrollbar when needed */
    line-height: 1.2 !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
}
