/* Regras já existentes */
:root {
    --primary-color: #ddeef5;
    --primary-rgb: 221, 238, 245;
    --text-color: #1d1d1f;
    --text-muted: #86868b;
    --bg-body: #f8f8f8;
    --bg-card: #ffffff;
    --border-color: #e0e0e0;
    --secondary-color: #f9c747;
    --secondary-rgb: 249, 199, 71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px 0;
    width: 100%;
    z-index: 100;
}

header.home {
    position: absolute;
}

.login-btn {
    background: #e0e0e0;
    padding: 6px 10px;
    border-radius: 8px;
    color: #313131;
    font-size: 0.8em;
}

header .right {
    list-style: none;
    display: flex;
    gap: 20px;
    /* Adjusted gap since profile is gone */
    font-size: 1.2em;
}

header .right li {
    display: inline-block;
    color: #9c7105;
}

.logo a {
    font-size: 2.4em;
    font-family: initial;
}

.logo img {
    width: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

footer {
    margin: 30px 0;
    border-radius: 20px;
    width: calc(100% - 60px);
    border: 3px solid var(--primary-color);
    padding: 40px;
    margin-left: 30px;
}

#content {
    padding: 50px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
}

.sigma-logo-text {
    font-family: raleway;
    font-weight: 200;
    font-size: 0.8em;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Footer Styles */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    transition: color 0.3s;
    color: #787878;
    font-size: 0.9em;
}

.footer-section ul li a:hover {
    color: #4273da;
}

.footer-section p {
    font-size: 14px;
    margin-top: 10px;
}

.footer-section .social-icons a {
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-section .social-icons a:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 30px;
    flex: 1;
    font-size: 0.9em;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.newsletter-form button i {
    color: #333;
}

.footer-bottom {
    text-align: center;
    margin-top: 35px;
    font-size: 12px;
}

.container h1 {
    margin-bottom: 20px;
    font-weight: normal;
}

.container h2,
.container h3,
.container h4 {
    margin-bottom: 10px;
}

.container p {
    margin: 10px 0;
}

.container li {
    margin-left: 20px;
}

.mb-10 {
    margin-bottom: 40px;
}

.module h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.module h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.module ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.module ul li {
    margin-bottom: 8px;
    color: #555;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: #4273da;
    margin-bottom: 8px;
}

.faq-item p {
    color: #666;
    line-height: 1.5;
}

.mb-2 {
    margin-bottom: 2px;
}

.mb-4 {
    margin-bottom: 2px;
}

.login-module button {
    border: 0;
    padding: 10px;
    background: var(--primary-color);
    font-size: 1.5em;
    border-radius: 40px;
}

/* 
// @media screen and (max-width: 800px){

//     header{
//         flex-direction: column;
//         gap: 10px;
//         padding-bottom: 30px;
//     }

//     .footer-bottom {
//         font-size: 1em;
//     }

// } */

/* Modern Calendar Styles */
.calendar-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Roboto', sans-serif;
    max-width: 100%;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.calendar-header .current-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.calendar-header .nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-header .nav-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.calendar-header .toggle-visibility {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    transition: color 0.2s;
}

.calendar-header .toggle-visibility:hover {
    color: #666;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.weekday {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.day {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 0.95rem;
    color: #444;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
}

.day:not(.empty):hover {
    background-color: #f7f9fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
    border-color: #eff2f5;
}

.day.empty {
    cursor: default;
    pointer-events: none;
}

.day.current {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.day.current:hover {
    background-color: #eebb2e;
    transform: translateY(-2px);
}

.day.selected {
    border-color: var(--primary-color);
    background-color: #fffde7;
    box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.2);
}

.day.has-event .indicators {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.day .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #ccc;
}

.day .dot.instagram {
    background-color: #E1306C;
}

.day .dot.facebook {
    background-color: #1877F2;
}

.day .dot.linkedin {
    background-color: #0077b5;
}

.event-icon {
    font-style: normal;
    font-size: 0.8em;
}

.top-nav {
    display: flex;
    padding: 10px 30px;
    margin-bottom: 10px;
    gap: 10px;
}

.top-nav select {
    padding: 10px;
    border-radius: 30px;
    border: 3px solid var(--primary-color);
}

.top-nav input[type=number] {
    width: 80px;
    padding: 10px;
    border-radius: 30px;
    border: 3px solid var(--primary-color);
}

/* Old header profile picture styles removed */


.profile-menu {
    position: fixed;
    bottom: 80px;
    /* Positioned above the bottom nav */
    right: 10px;
    top: auto;
    /* Reset top */
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 24px;
    min-width: 150px;
    text-align: right;
    transform-origin: bottom right;
}

.profile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu li {
    margin-bottom: 8px;
    font-size: 14px;
    display: block !important;
}

.profile-menu li:last-child {
    margin-bottom: 0;
}

.profile-menu li a {
    color: #333;
    text-decoration: none;
}

.profile-menu li a:hover {
    text-decoration: underline;
}

/* Classe para esconder o dropdown */
.profile-menu.hidden {
    display: none;
}

/* Para indicar que o profile picture é clicável */
.profile-picture {
    cursor: pointer;
}

/* Updated Profile Picture Styles for Bottom Nav */
.profile-picture-container {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-nav .profile-picture {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: #dcdcdc;
    margin-bottom: 2px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.bottom-nav .profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    visibility: hidden;
}

.nav-item.profile-picture-container:hover .profile-picture {
    border-color: var(--primary-color);
}

/* Estilo para submenu de temas */
.profile-menu ul ul {
    margin-top: 5px;
    margin-left: 10px;
    border-left: 1px dashed #ccc;
    padding-left: 10px;
}

a.theme-option {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 100px;
    margin-left: 10px;
}

/* Section Suggestions */
.suggestions-section {
    margin-top: 30px;
}

.suggestions-section h2 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    padding-left: 5px;
}

.suggestions-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px;
    /* Padding bottom for scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.suggestions-list::-webkit-scrollbar {
    height: 6px;
}

.suggestions-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.suggestions-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.suggestions-list::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.suggestion-card {
    min-width: 280px;
    max-width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.suggestion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.suggestion-icon {
    font-size: 1.5rem;
    background: #fff8e1;
    /* Light yellow background */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    overflow: hidden;
    /* Needed for text overflow */
}

.suggestion-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Fallback for non-webkit */
    max-height: 3.6em;
    /* 3 lines * 1.2em line-height approx - adjusted to 1.4 above */
}

.action-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    align-self: center;
    transition: transform 0.2s;
}

.action-btn:hover {
    transform: translateX(3px);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background-color: #4273da; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-top: 1px solid #f0f0f0;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 0.75rem;
    flex: 1;
    gap: 4px;
    transition: color 0.2s ease;
}

.bottom-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.bottom-nav .nav-item.active {
    color: var(--primary-color);
    /* Gold/Yellow branding color */
    font-weight: 600;
}

.bottom-nav .nav-item:hover {
    color: #444;
}

.bottom-nav .nav-item.active i {
    color: var(--primary-color);
}

/* Ensure content is not hidden behind the nav */
body.with-bottom-nav {
    padding-bottom: 70px;
    /* Adjust based on nav height */
}

@media screen and (max-width: 600px) {
    .hide-on-mobile {
        display: none !important;
    }
}


/* Planning Header Layout */
.planning-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    /* Spaced from the rest of the site */
}

.dashboard-title {
    margin: 0;
    font-size: 2.5rem;
    color: #333;
    font-weight: normal;
}

.planning-channels {
    display: inline-flex;
}

.channel-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.channel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.2s ease;
}

.channel-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.channel-btn.active {
    background: #fff8e1;
    /* Light yellow to match brand */
    border-color: var(--primary-color);
    color: #333;
    font-weight: 500;
}

.channel-btn i {
    font-size: 1.1rem;
}

.channel-btn.add-new {
    padding: 8px;
    border-style: dashed;
    border-color: #ccc;
}

.channel-btn.add-new:hover {
    border-color: #f9c747;
    color: #f9c747;
}

/* Specific Icons - placeholders if not using a font library yet */
.icon-instagram::before {
    content: '📸';
}

.icon-facebook::before {
    content: '📘';
}

.icon-linkedin::before {
    content: '💼';
}

.icon-blog::before {
    content: '📝';
}

.icon-newsletter::before {
    content: '✉️';
}

.icon-plus::before {
    content: '+';
}

/* Responsive adjustments */
@media (min-width: 768px) {
    /* If we want to hide it on desktop, we can; but user asked for it specifically.
       Passively, Instagram usually hides bottom nav on big screens and moves to side.
       For now, leaving shown or as requested.
    */
}

/* Brand Menu */
.brand-menu {
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.brand-menu.hidden {
    display: none !important;
}

.brand-menu ul li a:hover {
    background-color: #f9f9f9;
}

/* Image Creator Modal */
.image-creator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
    display: none;
    /* Default hidden */
}

.image-creator-content {
    position: relative;
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.creator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.creator-header h2 {
    font-size: 1.5rem;
    color: #333;
}

.close-creator {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-creator:hover {
    color: #333;
}

/* Notification Styles */
.notification-wrapper {
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

#notification-icon {
    font-size: 1.2rem;
    color: #666;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4757;
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-badge.hidden {
    display: none;
}

.notification-dropdown {
    position: absolute;
    top: 30px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border: 1px solid #eee;
}

.notification-dropdown.hidden {
    display: none;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #333;
}

.text-btn {
    background: none;
    border: none;
    color: #4273da;
    cursor: pointer;
    font-size: 0.8rem;
}

.notification-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f9f9f9;
}

.notification-item.unread {
    background: #f0f7ff;
}

.notification-item .title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #333;
}

.notification-item .message {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.notification-item .time {
    font-size: 0.75rem;
    color: #999;
}

.notification-dropdown .view-all-btn {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    color: #4273da;
    border-top: 1px solid #eee;
    text-decoration: none;
}

.notification-dropdown .view-all-btn:hover {
    background: #f9f9f9;
}