.lower-underline {
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 1px;
    text-underline-offset: -1px;
}

.request-form-container {
    max-width: 600px;
    margin: auto;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    display: block;
    position: relative;
    margin-bottom: 40px;
}

.request-form-container h2 {
    text-align: center;
    color: #333;
    margin: 5px 0;
}

.textarea-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.request-form-container textarea {
    padding: 10px;
    padding-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    width: 100%;
    height: 100px;
    text-align: center;
}

.character-counter {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

.request-form-container .form-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.request-form-container .toggle-buttons {
    display: flex;
    width: 260px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.toggle-buttons::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #e0e0e0;
}

.toggle-buttons label {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
}

.toggle-buttons input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.toggle-buttons input[type="radio"]:checked + label.feature {
    background-color: #d5fdd5;
}

.toggle-buttons input[type="radio"]:checked + label.bug {
    background-color: #ffbbbb;
}

.request-form-container button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.request-form-container button:hover {
    background-color: #45a049;
}

.error-message {
    color: red;
    display: none;
    margin-top: 10px;
}

.submit-button-container {
    text-align: center;
    margin: 20px 0;
}

.submit-button-container button {
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
}

.submit-button-container button:hover {
    background-color: #45a049;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    background-color: #e0e0e0 !important;
    color: black !important;
    border: none;
    border-radius: 50%;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    margin: 0;
    box-sizing: content-box;
}

.tablink {
    background-color: #ddd;
    border-radius: 20px;
    padding: 10px 20px;
    margin: 0px 10px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 18px;
}

.table-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    font-family: Arial, sans-serif;
    position: relative;
    padding: 0 15px;
}

.table-row {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}

.row-content {
    padding: 15px;
}


.description {
    color: #333;
    font-size: 16px;
    text-align: left;
    margin-bottom: 15px;
}

.meta-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

.meta-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.type-item {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.votes-item {
    gap: 8px;
}

.comments-item {
    cursor: pointer;
}


.vote-count {
    font-weight: bold;
    font-size: 18px;
}


.thumbs-up {
    color: grey;
    font-size: 30px;
    cursor: pointer;
}

.thumbs-up.blue {
    color: blue;
}

.votes-container {
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 10px 10px;
    padding-left: 15px;
    background-color: #ddd;
    border-radius: 20px;
    margin-right: 10px;
}


.comment-box {
    margin-left: 135px;
    margin-right: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding: 10px;
}

.comment-date {
    color: #999;
    font-size: 11px;
    margin-top: 5px;
}

.type-feature {
    background-color: #e0e0e0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #000;
    display: inline-block;
    min-width: 65px;
    text-align: center;
}

.type-bug {
    background-color: #e0e0e0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #000;
    display: inline-block;
    min-width: 65px;
    text-align: center;
}

.type-in-progress {
    background-color: #ffffbb;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #000;
}

.type-your-request {
    background-color: #d5fdd5;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #000;
}

.type-comment {
    cursor: pointer;
    transition: transform 0.2s ease;
    font-weight: 500;
    color: #000;
}

.type-comment i {
    margin-right: 4px;
    color: #000;
}

.type-comment:hover {
    transform: scale(1.1);
}



.notify-me-container {
    display: none;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: black;
    font-size: 13px;
    box-sizing: border-box;
    align-items: center;
    width: 145px;
}


.add-comment {
    margin-left: 135px;
    margin-right: 15px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    background-color: #f9f9f9;
}

.add-comment textarea {
    width: calc(100% - 20px);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    resize: none;
}

.add-comment button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.add-comment button:hover {
    background-color: #45a049;
}

.votes-comments-container {}

.admin-tag {
    background-color: #d4ebf2;
    color: black;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 8px;
}


.hello-container {
    margin-top: 10px;
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: black;
    width: 100px;
    font-size: 13px;
    box-sizing: border-box;
    position: absolute;
    right: -107px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    text-align: center;
}

/* New admin controls styling */
.admin-controls {
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px;
    border: 2px solid #333;
    border-radius: 20px;
    background-color: #fff;
}

.status-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.2s ease;
    color: #666;
    font-family: Arial, sans-serif;
    line-height: 1;
    text-align: center;
    padding: 0;
    outline: none;
}

button.status-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.status-button:hover {
    background-color: #e0e0e0;
    transform: scale(1.1);
}

.status-button.active {
    background-color: #4CAF50;
    color: white;
    border-color: #45a049;
}

.status-button.remove-btn {
    background-color: #ffebee;
    color: #d32f2f;
    border-color: #ffcdd2;
}

.status-button.remove-btn:hover {
    background-color: #f44336;
    color: white;
    border-color: #d32f2f;
}

/* Ensure no extra content on status buttons */
.status-button::before,
.status-button::after {
    content: none !important;
}

/* Specific override for remove button to prevent icon conflicts */
.status-button.remove-btn {
    font-family: Arial, sans-serif !important;
    overflow: hidden;
    position: relative;
}

.status-button.remove-btn * {
    display: none !important;
}

/* Override any Font Awesome classes on status buttons */
.status-button.fa,
.status-button.fas,
.status-button.far,
.status-button.fab,
.status-button.fa-times,
.status-button[class*="fa-"] {
    font-family: Arial, sans-serif !important;
}

.status-button::before {
    font-family: Arial, sans-serif !important;
    content: none !important;
}

/* Loading spinner styles */
.loading-spinner {
    display: inline-block;
    margin-left: 10px;
    color: #4CAF50;
}

.ajax-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: inherit;
}

/* Success and error message popup styles */
.success-message-popup, .error-message-popup {
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.error-message-popup {
    background-color: #f44336;
}

/* Keep old styles for other messages */
.success-message {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 200;
}

.error-message-ajax {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f44336;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 200;
}

/* Ensure containers have relative positioning for absolute children */
.thumbs-up.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.notify-button {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
}

.notify-button i {
    margin-right: 4px;
    font-size: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.notify-item {
    animation: fadeIn 0.3s ease;
}

.notify-button:hover:not(.disabled) {
    transform: scale(1.05);
}

.notify-button.active {
    background-color: #4CAF50;
    color: white;
}

.notify-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vote-required {
    font-size: 10px;
    font-style: italic;
    margin-left: 3px;
}

.comments-section {
    padding: 10px 15px;
    display: none;
}

/* Hover effects for interactive elements */
.thumbs-up {
    color: grey;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.thumbs-up:hover {
    transform: scale(1.1);
}

.thumbs-up.blue {
    color: blue;
}

.type-comment:hover {
    background-color: #ccc;
    transform: scale(1.05);
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Main container adjustments */
    .table-container {
        padding: 0 10px;
    }
    
    /* Form container mobile optimization */
    .request-form-container {
        max-width: 100%;
        margin: 0 10px 20px 10px;
        padding: 10px 15px;
    }
    
    /* Row content adjustments */
    .row-content {
        padding: 10px;
    }
    
    .meta-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .meta-item {
        font-size: 13px;
    }
    
    .meta-section {
        padding-top: 8px;
    }
    
    .vote-count {
        font-size: 16px;
    }
    
    .thumbs-up {
        font-size: 18px;
    }
    
    
    .hello-container {
        position: static;
        transform: none;
        width: auto;
        margin: 10px;
    }
    
    /* Admin controls mobile */
    .admin-controls {
        position: static;
        transform: none;
        margin: 10px;
        justify-content: center;
    }
    
    /* Type badges mobile optimization */
    .type-feature, .type-bug, .type-in-progress, .type-your-request {
        font-size: 11px;
        padding: 2px 8px;
        margin-bottom: 4px;
    }
    
    .type-item {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    /* Comment sections */
    .comment-box, .add-comment {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    /* Tab navigation */
    .tablink {
        font-size: 16px;
        padding: 8px 15px;
        margin: 5px;
    }
    
    /* Form elements */
    .toggle-buttons {
        width: 100%;
        max-width: 260px;
    }
    
    /* Success/error messages positioning */
    .success-message, .error-message-ajax {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .table-container {
        padding: 0 5px;
    }
    
    .table-row {
        padding: 8px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .tablink {
        font-size: 14px;
        padding: 6px 12px;
        margin: 3px;
    }
    
    h1 {
        font-size: 24px;
        margin: 10px 0;
    }
}