.post-input-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.post-input-card {
    background: #1e2024;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.post-input-header {
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.post-input-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(251, 191, 36, 0.4);
    flex-shrink: 0;
}

.post-input-main {
    flex: 1;
    min-width: 0;
}

.post-input-textarea {
    width: 100%;
    min-height: 80px;
    max-height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.post-input-textarea:focus {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.post-category-selector {
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.post-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.post-category-btn.unselected {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.05);
}

.post-category-btn.unselected .category-label {
    color: rgba(251, 191, 36, 0.8);
}

.post-category-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}

.post-category-btn.active {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.category-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    object-fit: cover;
    border-radius: 4px;
}

.category-icon[src] {
    stroke: none;
}

.category-label {
    flex: 1;
    text-align: left;
}

.category-arrow {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.post-category-btn.active .category-arrow {
    transform: rotate(180deg);
}

.post-category-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e2024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.post-category-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.post-category-dropdown::-webkit-scrollbar {
    width: 6px;
}

.post-category-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.post-category-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.category-option:hover {
    background: rgba(251, 191, 36, 0.08);
}

.category-option.selected {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.category-option-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.category-option-icon[src] {
    object-fit: cover;
    border-radius: 4px;
}

.category-option-icon:not([src]) {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    color: rgba(255, 255, 255, 0.6);
}

.category-option:hover .category-option-icon:not([src]) {
    color: #fbbf24;
}

.category-option.selected .category-option-icon:not([src]) {
    color: #fbbf24;
}

.category-option-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.category-option:hover .category-option-label {
    color: #fff;
}

.category-option.selected .category-option-label {
    color: #fbbf24;
}
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.post-input-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.post-input-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.post-input-options {
    display: flex;
    gap: 0.25rem;
}

.post-option-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.post-option-btn svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 2;
    fill: none;
}

.post-option-btn:hover {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

.post-option-btn:hover svg {
    stroke: #fbbf24;
}

.post-input-submit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.character-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.char-current {
    color: rgba(255, 255, 255, 0.5);
}

.character-count.warning .char-current {
    color: #f59e0b;
}

.character-count.danger .char-current {
    color: #ef4444;
}

.post-submit-btn {
    background: #fbbf24;
    color: #1a1a1a;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-submit-btn:hover:not(:disabled) {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.post-submit-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.post-submit-btn:disabled {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}


.media-preview-container {
    display: none;
    margin-top: 0.75rem;
}

.media-preview-container.active {
    display: block;
}

.media-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0b0c;
    display: inline-block;
    max-width: 100%;
}

.media-preview img,
.media-preview video {
    display: none;
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.media-preview img.active,
.media-preview video.active {
    display: block;
}

.media-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.media-preview-remove svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.2s ease;
}

.media-preview-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.1);
}

.media-preview-remove:hover svg {
    transform: rotate(90deg);
}

.media-preview-remove:active {
    transform: scale(0.95);
}

.media-size-info {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.poll-creator {
    margin-top: 0.75rem;
    padding: 14px;
    background: rgba(251, 191, 36, 0.03);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease, margin 0.35s ease;
    padding: 0 14px;
    margin-top: 0;
}

.poll-creator.active {
    max-height: 400px;
    opacity: 1;
    padding: 14px;
    margin-top: 0.75rem;
}

.poll-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.poll-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fbbf24;
}

.poll-title svg {
    width: 16px;
    height: 16px;
    stroke: #fbbf24;
    stroke-width: 2;
    fill: none;
}

.poll-close {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.poll-close svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.2s;
}

.poll-close:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: rotate(90deg);
}

.poll-close:hover svg {
    stroke: #ef4444;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-option-input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.poll-option-input:focus {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.05);
}

.poll-option-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.poll-add-option {
    margin-top: 0.6rem;
    padding: 0.6rem;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.poll-add-option:hover {
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
}

.poll-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.poll-duration svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    fill: none;
}

.poll-duration-select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: #fff;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}

.poll-duration-select:hover,
.poll-duration-select:focus {
    border-color: rgba(251, 191, 36, 0.4);
}

.poll-duration-select option {
    background: rgba(24, 26, 28, 0.95);
    color: #fff;
}

.yt-promo-creator {
    margin-top: 0.75rem;
    padding: 14px;
    background: rgba(255, 0, 0, 0.03);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease, margin 0.35s ease;
    padding: 0 14px;
    margin-top: 0;
}

.yt-promo-creator.active {
    max-height: 600px;
    opacity: 1;
    padding: 14px;
    margin-top: 0.75rem;
}

.yt-promo-creator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.yt-promo-creator-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ff4444;
}

.yt-promo-creator-title svg {
    width: 18px;
    height: 18px;
}

.yt-promo-creator-close {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.yt-promo-creator-close svg {
    width: 12px;
    height: 12px;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.2s;
}

.yt-promo-creator-close:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: rotate(90deg);
}

.yt-promo-creator-close:hover svg {
    stroke: #ef4444;
}

.yt-promo-creator-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yt-promo-url-input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.yt-promo-url-input:focus {
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.05);
}

.yt-promo-url-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.yt-promo-preview {
    display: none;
    border-radius: 10px;
    overflow: hidden;
    background: #0a0b0c;
    max-height: 150px;
}

.yt-promo-preview.active {
    display: block;
}

.yt-promo-preview img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

.yt-promo-desc-input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    resize: none;
    min-height: 50px;
    transition: all 0.2s;
}

.yt-promo-desc-input:focus {
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.05);
}

.yt-promo-desc-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.yt-promo-creator-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.yt-promo-limit {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.yt-promo-submit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ff0000;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.yt-promo-submit-btn:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.yt-promo-submit-btn:disabled {
    background: rgba(255, 0, 0, 0.3);
    cursor: not-allowed;
    transform: none;
}

.yt-promo-submit-btn svg {
    width: 14px;
    height: 14px;
}

.yt-feature-btn {
    position: relative;
}

.yt-feature-btn svg {
    stroke: none;
}

.yt-feature-btn:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
}

.signin-banner-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.signin-banner {
    background: #1e2024;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.signin-banner:hover {
    border-color: rgba(251, 191, 36, 0.2);
}

.signin-banner-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.signin-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.signin-banner-content {
    flex: 1;
    min-width: 0;
}

.signin-banner-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.15rem 0;
}

.signin-banner-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.35;
}

.signin-banner-btn {
    background: #fbbf24;
    border: none;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.signin-banner-btn:hover {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.signin-banner-btn:active {
    transform: translateY(0) scale(0.98);
}

@media (max-width: 600px) {
    .signin-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .signin-banner-btn {
        width: 100%;
    }
}