.gf-news-ticker-table {
    width: 100%;
    border-collapse: collapse; /* Ensures no gaps between table cells */
}

.gf-news-ticker-left {
    width: 68%; /* Set width to 68% for the left column */
    vertical-align: top; /* Align content to the top */
    padding-right: 20px;
    box-sizing: border-box; /* Include padding in width calculation */
}

.gf-news-ticker-right {
    width: 30%; /* Set width to 30% for the right column */
    vertical-align: top; /* Align content to the top */
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* Include padding in width calculation */
}

.gf-news-item {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background: #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.gf-news-item:hover {
    background-color: #dee2e6;
}

.wide-textarea {
    width: 100%;
    height: 60px;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.remove-news-item {
    align-self: flex-start;
    background: #dc3232;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 5px;
}

.gf-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: opacity 0.5s ease-out;
}

.gf-message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    border: 1px solid transparent;
}

.gf-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border: 1px solid transparent;
}

.gf-shortcode {
    margin-top: 20px; /* Add spacing above the shortcode */
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Add proper spacing between Appearance Settings elements */
.gf-news-ticker-right label {
    display: block;
    margin-top: 15px; /* Add space above each label */
    margin-bottom: 5px; /* Add space below each label */
    font-weight: bold; /* Make labels bold for better readability */
}

.gf-news-ticker-right input,
.gf-news-ticker-right select {
    width: 100%; /* Full width for inputs and selects */
    margin-bottom: 15px; /* Add space below inputs and selects */
    padding: 8px; /* Add padding for better usability */
    border-radius: 4px; /* Rounded corners for inputs and selects */
    border: 1px solid #ddd; /* Border styling for inputs and selects */
}

.gf-news-ticker-right input[type="submit"] {
    margin-top: 15px; /* Add space above the submit button */
}

#gf-news-ticker ul {
    padding: 0;
    margin: 0;
    list-style: none; /* Remove bullet points */
    overflow: hidden; /* Hide overflow for smooth scrolling */
}

#gf-news-ticker ul li {
    display: inline-block; /* Display items inline */
    white-space: nowrap; /* Prevent line breaks */
    margin-right: 50px; /* Space between items */
}

