/* ===== NOTIFICATION SYSTEM ===== */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    max-width: 400px;
    width: 100%;
}

.notification {
    background-color: #477D4D;
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

.notification.error {
    background-color: #dc3545;
}

.notification.success {
    background-color: #477D4D;
}

.dismiss-btn {
    cursor: pointer;
    opacity: 0.8;
    padding: 4px;
}

.dismiss-btn:hover {
    opacity: 1;
}

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

/* ===== COMMON BUTTON STYLES ===== */
.styled-button-local {
    background-color: #477D4D;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: Inter, sans-serif;
    font-weight: 500;
}

.next-button {
    background-color: #477D4D;
    color: white;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.next-button:hover {
    background-color: #386440;
}

/* ===== COMMON LAYOUT ELEMENTS ===== */
.section-divider {
    width: 100%;
    height: 3px;
    background: #000;
}

.onboarding-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 100px);
}

/* ===== COLLAPSIBLE BLOCKS COMMON ===== */
.collapsible-blocks {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.block {
    border: none;
    border-bottom: 1px solid #E5E5E5;
}

.block-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-header h3 {
    margin: 0;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 30px;
}

.block-content {
    display: none;
    padding: 0 20px 20px;
    font-family: Inter, sans-serif;
    line-height: 1.6;
    color: #333;
}

.block.active .block-content {
    display: block;
}

.toggle-icon {
    font-size: 24px;
    font-weight: bold;
}

/* ===== DASHBOARD OVERRIDES (more compact) ===== */
.dashboard-container .collapsible-blocks {
    gap: 15px;
}

.dashboard-container .block-header {
    padding: 15px;
    flex-wrap: wrap;
}

.dashboard-container .block-header h3 {
    font-size: 20px;
    line-height: 1.2;
}

.dashboard-container .block-content {
    padding: 0 15px 15px;
    overflow: hidden;
    transition: height 0.3s ease-out;
}

/* ===== SECTION TITLE COMMON ===== */
h1.section-title {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 130%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0;
    padding: 40px 0;
}

/* ===== MOBILE RESPONSIVE COMMON ===== */
@media screen and (max-width: 768px) {
    /* Common onboarding container mobile styles */
    .onboarding-container {
        margin: 10px auto;
        padding: 10px;
        max-width: 100%;
        width: calc(100% - 20px);
        min-height: auto;
    }
    
    /* Common mobile typography scaling */
    h1 {
        font-size: 28px !important;
    }
    
    h1.section-title {
        font-size: 24px;
        line-height: 1.2;
        padding: 20px 0;
    }
    
    /* Common mobile text sizes */
    h2 {
        font-size: 24px;
    }
    
    p {
        font-size: 16px;
    }
    
    /* Common mobile spacing utilities */
    .block-header {
        padding: 15px 10px;
        flex-wrap: wrap;
    }
    
    .block-header h3 {
        font-size: 18px;
        line-height: 1.3;
        word-break: break-word;
    }
    
    /* Common mobile padding adjustments */
    .block-content {
        font-size: 16px;
        padding: 0 10px 15px;
    }
    
    /* Common mobile container adjustments */
    .container {
        margin: 10px auto;
        padding: 10px;
        max-width: 100%;
        width: calc(100% - 20px);
    }
    
    /* Responsive collapsible blocks */
    .collapsible-blocks {
        gap: 15px;
        width: 100%;
    }
    
    /* Better mobile block styling */
    .block {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }
    
    /* Mobile form elements */
    .styled-input {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    /* Mobile button improvements */
    .styled-button-local {
        padding: 12px 16px;
        font-size: 16px;
        width: auto;
        min-width: 120px;
    }
    
    .next-button {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        max-width: 200px;
    }
}

/* ===== SMALLER MOBILE DEVICES COMMON ===== */
@media screen and (max-width: 480px) {
    h1.section-title {
        font-size: 24px;
    }
    
    .block-header h3 {
        font-size: 18px;
    }
    
    .block-content {
        font-size: 14px;
    }
}
