/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-image: url(../assets/background.png);
    background-size: cover;  /* face imaginea să acopere tot ecranul */
    background-position: center;  /* centrează imaginea */
    background-repeat: no-repeat;  /* previne repetarea imaginii */
    background-attachment: fixed;  /* face imaginea fixă la scroll */
    color: white;
    min-height: 100vh;
}

/* Stream creation modal: modern custom category dropdown */
.stream-category-select.custom-select {
    position: relative;
    width: 100%;
}

.stream-category-select .select-selected {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    outline: none;
    font-size: inherit;
    font-family: inherit;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
}

/* Stream form: placeholder tone + helper text spacing */
.media-section .char-count {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

.media-section .input-group input::placeholder,
.media-section .input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* If nothing is selected, match placeholder tone (uses :has when supported) */
.stream-category-select:not(:has(.select-option.active)) .select-selected {
    color: rgba(255, 255, 255, 0.6);
}

.stream-category-select .select-selected:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.stream-category-select .select-selected:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

.stream-category-select.open .select-selected,
.stream-category-select:focus-within .select-selected {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

.stream-category-select .select-options {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid rgba(233, 30, 99, 0.22);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    max-height: 220px;
    overflow-y: auto;
    z-index: 50;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.stream-category-select.open .select-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.stream-category-select .select-option {
    padding: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, color 0.2s ease;
}

.stream-category-select .select-option:hover,
.stream-category-select .select-option:focus {
    background: rgba(233, 30, 99, 0.18);
    color: #fff;
    outline: none;
}

.stream-category-select .select-option.active {
    background: rgba(233, 30, 99, 0.28);
    color: #fff;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

/* Left Sidebar Styles */
.sidebar {
    width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    max-width: 180px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #e91e63;
    text-decoration: none;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #333;
}

.nav-item i {
    margin-right: 15px;
    width: 20px;
}

.nav-item.active {
    background-color: #333;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
}

/* Create Post Styles */
.create-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 125px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 800px;
}

.create-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(233, 30, 99, 0.2);
}

/* Create Content Layout */
.create-content {
  margin-left: 250px;
  padding: 60px;
  max-width: 800px; /* Match Game News width */
  margin: 0 auto;
  margin-left: calc(250px + ((100% - 1150px) / 2));
}

/* Create Header */
.create-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
    
}

.create-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.create-header h1 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}

.create-header i {
    color: #e91e63;
}

.create-header p {
    color: #888;
    font-size: 14px;
    margin-left: 32px;
}

/* Create Form */
.create-form {
    background: rgba(0, 0, 0, 0);
    border-radius: 12px;
    overflow: hidden;
}

/* Post Type Selector */
.post-type-selector {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn:hover {
    background: rgba(233, 30, 99, 0.1);
}

.type-btn.active {
    background: #e91e63;
    border-color: #e91e63;
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(233, 30, 99, 0.3);
    border-radius: 12px;
    padding: 0;  /* Remove padding */
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;  /* Hide overflow */
    margin-bottom: 2rem; /* Add space after upload area */
}

.upload-area:hover {
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.05);
}

.upload-area.error {
    border-color: #ff4444;
    animation: shake 0.5s;
}

.upload-area.drag-over {
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.05);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.upload-area i {
    font-size: 10rem;
    color: #e91e63;
    margin-bottom: 1rem;
}

.upload-area p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* File Preview Styles */
.file-preview {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
}

.file-preview img,
.file-preview video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Update Remove Preview Button */
.remove-preview {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 20px; /* Even smaller button */
    height: 20px; /* Even smaller button */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0; /* Remove padding */
}

.remove-preview i {
    font-size: 10px; /* Smaller icon */
    line-height: 1; /* Center vertically */
    margin: 0; /* Remove margins */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Update file info text */
.file-info {
    color: #888;
    font-size: 0.9rem;
}

.premium-account .file-info::after {
    content: '(Unlimited size for premium accounts)';
    color: #e91e63;
    margin-left: 5px;
}

/* Update Form Groups spacing */
.form-group {
    padding: 1.5rem;  /* Reduced padding */
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;  /* Reduced gap */
    margin-bottom: 1rem;  /* Reduced margin */
}

.input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;  /* Reduced margin */
    font-size: 0.95rem;
}

/* Character count positioning */
.char-count {
    color: #888;
    font-size: 18px;
    margin-top: -11px;  /* Reduced margin */
}

/* Tags container adjustment */
.tags-container {
    margin-top: 4px;  /* Reduced margin */
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-group textarea,
.input-group input {
    width: 100%;
    padding: 1rem;  /* Increased padding */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    outline: none; /* Remove default focus outline */
}

.input-group textarea:focus,
.input-group input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63; /* Add a full border using box-shadow */
}

/* Drops (Giveaway) date picker: make calendar icon pink (Chrome/modern browsers)
   Scoped so it doesn't affect other inputs globally. */
.giveaway-section input[type="date"],
.giveaway-section input[type="datetime-local"] {
    color-scheme: #e91e63;
}

.giveaway-section input[type="date"]::-webkit-calendar-picker-indicator,
.giveaway-section input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    opacity: .95;
    cursor: pointer;
    /* Filter tuned toward #e91e63 (G-Zone pink) */
    filter: invert(22%) sepia(90%) saturate(5500%) hue-rotate(322deg) brightness(95%) contrast(108%);
}

.giveaway-section input[type="date"]:hover::-webkit-calendar-picker-indicator,
.giveaway-section input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator,
.giveaway-section input[type="date"]:focus::-webkit-calendar-picker-indicator,
.giveaway-section input[type="datetime-local"]:focus::-webkit-calendar-picker-indicator {
    opacity: 1;
    filter: invert(22%) sepia(90%) saturate(6200%) hue-rotate(322deg) brightness(102%) contrast(112%);
}

textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 1rem;  /* Added margin */
}

/* Form Actions */
.form-actions {
    padding: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 111rem;
}

.post-btn,
.cancel-btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-btn {
    background: #e91e63;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-btn:hover {
    background: #d81557;
    transform: translateY(-2px);
}

.cancel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .create-content {
        margin-left: 70px;
        padding: 1rem;
    }
}

/* Post Details */
.post-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;  /* Reduced gap */
    margin-bottom: 1rem;  /* Reduced margin */
}

.input-group input {
    min-height: auto;
}

.game-select {
    position: relative;
    width: 100%;
}

.game-select i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.game-select input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

/* Update game suggestions styling */
.game-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: none;
}

.games-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
   
    border-radius: 8px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-category {
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.game-category:last-child {
    border-bottom: none;
}

.category-header {
    padding: 8px 16px;
    color: #e91e63;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(233, 30, 99, 0.1);
}

.game-suggestion {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-suggestion:last-child {
    border-bottom: none;
}

.game-suggestion:hover {
    background: rgba(233, 30, 99, 0.1);
}

.game-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.game-info i {
    color: #e91e63;
    font-size: 14px;
}

.game-meta {
    color: #888;
    font-size: 0.85rem;
}

.game-suggestion.empty {
    justify-content: center;
    padding: 24px;
    color: #888;
}

.game-suggestion.empty i {
    margin-right: 8px;
}

.game-suggestion {
    padding: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-suggestion:last-child {
    border-bottom: none;
}

.game-suggestion:hover {
    background: rgba(233, 30, 99, 0.1);
}

.game-cover {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}

.game-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-suggestion.empty {
    justify-content: center;
    padding: 24px;
    color: #666;
}

/* Hide game input when general type is selected */
.type-btn[data-type="general"].active ~ .form-group .game-select {
    display: none;
}

/* Scrollbar styling for game suggestions */
.game-suggestions::-webkit-scrollbar {
    width: 6px;
}

.game-suggestions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.game-suggestions::-webkit-scrollbar-thumb {
    background: #e91e63;
    border-radius: 3px;
}

/* Post Settings */
.post-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.setting-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #e91e63;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Action Buttons */
.post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cancel-btn,
.post-btn {
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.post-btn {
    background: #e91e63;
    border: none;
    color: white;
}

.post-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 1024px) {
    .create-container {
        width: calc(100% - 400px);
        margin-left: 100px;
    }
}

@media (max-width: 768px) {
    .create-container {
        width: calc(100% - 100px);
        margin-left: 35px;
    }
}

@media (max-width: 480px) {
    .create-container {
        width: calc(100% - 40px);
        margin-left: 20px;
    }
    .post-type-selector {
        flex-direction: column;
    }
}

/* Search bar */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: flex-start;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 100%;
    max-width: 600px;
    background-color: #121212;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.search-header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #333;
}

.search-header i {
    color: #e91e63;
    margin-right: 12px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #666;
}

.close-search {
    background: none;
    border: none;
    color: #e91e63;
    cursor: pointer;
    padding: 8px;
}

.close-search:hover {
    color: #ff4081;
}

.search-results {
    max-height: 70vh;
    overflow-y: auto;
}

.search-section {
    padding: 16px;
    border-bottom: 1px solid #333;
}

.search-section h3 {
    color: #e91e63;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
}

.search-item:hover {
    background-color: #333;
}

.item-meta {
    color: #e91e63;
    font-size: 14px;
}

/* Modificăm butonul de search din sidebar să fie button în loc de link */
.search-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

/* Responsive adjustments for search */
@media (max-width: 768px) {
    .search-container {
        margin: 0;
        height: 100%;
        max-width: none;
        border-radius: 0;
    }
    .search-results {
        max-height: calc(100vh - 70px);
    }
}

/* Update premium option styling */
.premium-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1.5rem;
    color: #e91e63;
}

.premium-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: transparent;
    border: 2px solid #e91e63;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin-right: 4px;
}

.premium-option input[type="checkbox"]:checked {
    background: #e91e63;
}

.premium-option input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.premium-icon {
    color: #e91e63;
    font-size: 16px;
    margin-left: 4px;
}

.premium-option span {
    color: #e91e63;
    font-size: 14px;
}

/* Update tags container style */
.tags-container {
    margin-top: 4px;  /* Reduced margin */
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tags-container:focus-within {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

/* Add these styles for tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.tag {
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid #e91e63;
    color: #e91e63;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.tag i {
    cursor: pointer;
    font-size: 12px;
}

.tag i:hover {
    color: #ff4081;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    animation: slideIn 0.3s ease;
    z-index: 1000;
}

.notification.success {
    background: #4CAF50;
}

.notification.error {
    background: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* News Section Styles - Same design as regular posts */
.news-section {
    display: none; /* Hidden by default */
}

.news-section.active {
    display: block;
}

.news-section .input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
}

.news-section .input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.news-section .input-group input,
.news-section .input-group textarea,
.news-section .input-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    outline: none;
}

.news-section .input-group input:focus,
.news-section .input-group textarea:focus,
.news-section .input-group select:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

.news-section .input-group select {
    cursor: pointer;
}

.news-section .input-group select option {
    background: #333;
    color: white;
}

/* News create: custom select (generated by create.js) should match styled inputs */
.news-section .input-group .custom-select {
    position: relative;
    width: 100%;
}

.news-section .input-group .custom-select .selected {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-weight: 400;
    font-size: 1rem;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

/* Placeholder tone when select is still empty (uses :has; supported in modern Chromium) */
.news-section .input-group:has(select#newsCategory option:checked[value=""]) .custom-select .selected {
    color: rgba(255, 255, 255, 0.6);
}

.news-section .input-group .custom-select .selected:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

.news-section .input-group .custom-select.open .selected {
    border-color: #e91e63;
    box-shadow: 0 0 0 1px #e91e63;
}

.news-section .input-group .custom-select .caret {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.75);
    transition: transform 0.2s ease;
}

.news-section .input-group .custom-select.open .caret {
    transform: rotate(180deg);
}

.news-section .input-group .custom-select .options {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 10px;
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
    z-index: 60;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.news-section .input-group .custom-select .option-item {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.news-section .input-group .custom-select .option-item:hover {
    background: rgba(233, 30, 99, 0.18);
    color: #fff;
}

.news-section .input-group .custom-select .option-item.active {
    background: rgba(233, 30, 99, 0.28);
    color: #fff;
}

/* Hide disabled placeholder option to avoid duplicate "Select category" in dropdown list */
.news-section .input-group .custom-select .option-item.disabled {
    display: none;
}

.news-section .input-group textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 1rem;
}

.news-section .char-count {
    color: #888;
    font-size: 18px;
    margin-top: 11px;
}

.news-section .char-count.error {
    color: #ff4444;
}

.news-section .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #e91e63;
  font-size: 0.95rem;
  padding: 0.3rem 0;
}

.news-section .checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1px;
  height: 1px;
  border: 2px solid #e91e63;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.news-section .checkbox-label input[type="checkbox"]:checked {
  background-color: #e91e63;
}

.news-section .checkbox-label input[type="checkbox"]:checked::before {
  content: '✓';
  color: white;
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.news-section .breaking-icon {
  color: #f39c12;
  font-size: 1rem;
}


/* News type button styling */
.type-btn[data-type="news"] {
    background: transparent;
    border: 1px solid rgba(233, 30, 99, 0.2);
    color: white;
}

.type-btn[data-type="news"]:hover {
    background: rgba(233, 30, 99, 0.1);
}

.type-btn[data-type="news"].active {
    background: #e91e63;
    border-color: #e91e63;
}

/* Section container styling */
.section-container {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.section-container:last-child {
    border-bottom: none;
}

/* Responsive news section */
@media (max-width: 768px) {
    .news-section .input-group {
        gap: 4px;
    }
    
    .news-section .checkbox-label {
        padding: 0.8rem;
    }
}

.premium-section {
  padding: 10px 0;
}

.premium-messages {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.premium-messages .cta {
  color: #e6683c; /* accent portocaliu */
  margin-bottom: 4px;
}

.premium-messages .cta a {
  color: #ff2f76;
  font-weight: 600;
  text-decoration: underline;
}

.premium-messages .info {
  color: #cccccc;
  font-size: 13px;
  opacity: 0.9;
}

