@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}


div::-webkit-scrollbar-track
{

	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 3px;
	background-color: #F5F5F5;
}

div::-webkit-scrollbar 
{
	width: 3px;
	background-color: #F5F5F5;
}

div::-webkit-scrollbar-thumb
{
	border-radius: 3px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #D62929;
}
div::-webkit-scrollbar {
    width:3px;
}

div::-webkit-scrollbar-thumb {
    background-color: rgba(214, 41, 41,0.5);
  
}

body {
    background-color: #F5F5F5;
    overflow:hidden;
    display: none;
}
.flex, .flex-col{
    display: flex;
    justify-content: center;
    align-items:center;
    align-content: center;
}
.flex-col{
    flex-direction: column;
}

.container {
    width: 100%;
    height: 852px;
    overflow-y: scroll;
    margin: 0 auto;
    background: white;
    position: relative;

}
.mainContainer{
    min-height:700px;
}

/* Header */
.header {
    margin-top:4rem;
    padding: 20px;
    text-align: center;

}

.logo {
    width: 32px;
    height: 32px;
}

/* Sekcje */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.section-header h2 {
    font-size: 18px;
    color: #131C28;
    font-weight: 700;
}

.see-all {
    color: #A74F12;
    text-decoration: none;
    font-size: 14px;
}

/* Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    border-radius: 12px;
}

.slider {
    display: flex;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
}

.slider img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
}

.dot.active {
    background: #A74F12;
    width:30px;
    border-radius:12px;
}

/* Lista artykuÅ‚Ã³w */
.articles-section {
    margin-top: 20px;
}

.articles-section h3 {
    padding: 0 20px;
    color: #131C28;

    font-family: 'Manrope';
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 25px;
/* identical to box height */

color: #131C28;
}





.articles-list {
    padding: 0 20px;
    overflow-y: scroll;
}

.article-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    cursor: pointer;
}

.article-item img, .article-item-create {
    width: 94px;
    height: 94px;
    object-fit: cover;
    border-radius: 8px;
}
.article-item-create {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-content {
    flex: 1;
}

.article-content .author {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.article-content h3 {
    font-size: 14px;
    color: #131C28;
    line-height: 1.4;
    padding: 0;
}

/* Lista urzÄ™dnikÃ³w */
.officials-section {
    margin-top: 20px;
    margin-bottom: 80px;
}

.officials-list {
    padding: 0 5px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    gap: 15px;
    scrollbar-width: none;
}

.officials-list::-webkit-scrollbar {
    display: none;
}

.officials-list.full-list {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
}

.official-card {
    min-width: 150px;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.full-list .official-card {
    min-width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
}

.official-card img {
    width: 94px;
    height: 94px;
    border-radius: 12px;
    margin-bottom: 10px;
}





.full-list .official-card img {
    margin-bottom: 0;
}

.official-card h4 {
    font-size: 14px;
    color: #131C28;
    margin-bottom: 5px;
}

.official-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.contact-btn {
    background: #A74F12;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
}




/* Post View */
.post-view {
    height: 100%;
    overflow-y: auto;
    border-bottom: 1px solid #EEEEEE;
}

.post-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
   
}
.post-header h2 {
font-size: 18px;
line-height: 25px;
color: #131C28;
}

.post-content {
    padding: 20px;
  
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.post-content h1 {
    font-size: 20px;
    color: #131C28;
  
    /* margin-bottom: 10px; */
}

.post-author {

font-family: 'Manrope';
font-style: normal;
font-weight: 400;
font-size: 14px;
margin-top:5px;
line-height: 14px;


color: #73787B;


    margin-bottom: 10px;
}

.post-text {
    font-size: 16px;
    line-height: 1.6;
    margin-top:20px;

font-family: 'Manrope';
font-style: normal;
font-weight: 400;
font-size: 17px;
line-height: 19px;

color: #4d4d4d;


}

/* Chat */
.chat-container {
 
    width: 100%;

  
    background: white;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #EEEEEE;
    background: white;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    min-height:600px;
    max-height:600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    max-width: 80%;
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 20px;
    line-height: 1.4;
}

.message.received {
    background: #F5F5F5;
    align-self: flex-start;
  
}

.message.sent {
    background: #A74F12;
    color: white;
    align-self: flex-end;
  
}
.chat-input-container {
    position:sticky;
    bottom:10%;
    padding:0.5rem 1.5rem;

}
.chat-input {
    padding: 5px 15px;

   

    width:100%;

    display: flex;
    gap: 10px;


    background: #EFF2F4;
border-radius: 91px;
}





.chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #EEEEEE;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background:transparent;
}

.chat-input input::placeholder {
    color: #999;
}

.chat-input button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* Lista wiadomoÅ›ci */
.messages-list {
    /* position: absolute; */
    /* top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background: white;
}

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

.messages-header h2 {

font-family: 'Manrope';
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 25px;


color: #131C28;


}
.message-item {
    display: flex;
    padding: 15px 20px;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #EEEEEE;
    cursor: pointer;
}

.message-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.message-content {
    flex: 1;
}

.message-content h4 {
    font-size: 16px;
    color: #131C28;
    margin-bottom: 5px;
}

.message-content p {
    font-size: 14px;
    color: #666;
}

.unread-indicator {
    width: 10px;
    height: 10px;
    background: #A74F12;
    border-radius: 50%;
}

.empty-messages {
    padding: 30px 20px;
    position:absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  
}

.empty-messages h3 {
    margin-bottom: 5px;
    font-family: 'Manrope';
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 19px;
display: flex;
align-items: center;
text-align: center;
color: #131C28;
}




.empty-messages p {
    font-family: 'Manrope';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;

color: #73787B;
}





.bottom-cotainer{
    height:50px;
    position:sticky;
    justify-content: space-between;
    bottom:6%;
}
.bottom-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content:
    space-between;
    padding: 15px;
    background: white;
    border-top: 1px solid #EEEEEE;
    /* Rectangle 8 */
    bottom: 2.82%;
    background: #FFFFFF;
    box-shadow: 0px 0px 35.9px rgba(0, 0, 0, 0.25);
    border-radius: 91px;
    height:49px;
    min-width:119px;
    max-width: 195px;
    transition: all .8s;
}

.nav-button {
    display: flex;
    align-items: center;

    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    border-radius: 20px;
}

.nav-button span {
    display: none;
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    
    color: #A74F12;
    
}



.nav-button.active-nav-button {
    transition: all .3s;
    background: rgba(91, 42, 8, 0.25);
border-radius: 91px;
padding:10px 15px;
margin: 0 5px;
}

.nav-button.active-nav-button svg path {
    fill: #A74F12;
}


.nav-button.active-nav-button span {
    display: block;
}

.hidden {
    display: none !important;
}

.official-card{
    justify-content: flex-start;
}
.official-card .flex {
    gap: 10px;
}
.official-card .flex-col {
    align-content:flex-start;
    align-items: flex-start;

}
.back-all, .back-all-from-employers, .back-all-from-article, .back-all-from-mess, .back-from-chat {

    background: #EFF2F4;
    height:23px;
    width:23px;
    border-radius: 48px;
    
}


#chatUserName {
font-family: 'Manrope';
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 25px;
color: #131C28;


}
.articles-create-header{
    padding:0rem 1.5rem 0rem 0rem;
    margin-bottom: 15px;
    justify-content: space-between;
}
.article-item-creating{
    align-items: flex-start;
    gap:10px;
}
.article-content-creator {
    min-height:150px;
    width:100%;
    padding:5px;
    border: none;
    border-bottom : 1px solid #EEEEEE;
    outline:none;
}
.article-item-creating input {
    width:100%;
    padding:5px;
    border: none;
    margin-bottom:10px;
    border-bottom : 1px solid #EEEEEE;
    outline:none;
}
.article-creating-buttons {
    gap:10px;
}
.close-btn{
    background:#ba0239 
}