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

html, body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

body {
    font-family: 'Inter';
    background: black;
    font-size: 16px;
    margin: 0;
    padding: 0;
    line-height: 120%;
    font-weight: 400;
}

.board-page {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
    overflow: hidden; 
}

.board-page__card {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: auto;
    background-color: #F6F7F8;
}

.kanban {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.kanban__header {
    position: relative;
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    padding: 40px 80px;
}

.kanban__headline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
    box-sizing: border-box;
}

.kanban__title {
    font-size: 61px;
    font-weight: 700;
}

.kanban__tools {
    display: flex;
    gap: 32px;
}

.kanban__search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 312px;
    border: 1px solid #A8A8A8;
    border-radius: 10px;
    padding: 8px 16px;
    background-color: #ffffff;
}

.kanban__search-input {
    max-width: 160px;
    height: 24px;
    font-size: 20px;
    border: none;
    outline: none; 
}

.kanban__search-input,
.kanban__search-input:focus,
.kanban__search-input:focus-visible,
.kanban__search-input:active {
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.kanban__search-icon-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
    gap: 16px;
}

.kanban__search-separator {
    height: 31px;
    border: 1px solid #D1D1D1;
}

.kanban__search-icon-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.kanban__search-icon-frame:hover {
    background-color: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
}

.kanban__search-icon {
    width: 17.58px;
    height: 17.58px;
    opacity: 0.6;
}

.kanban__add-button {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    max-width: 160px;
    height: 56px;
    padding: 8px 16px;
    gap: 4px; 
    background-color: #2A3647;
    color: white;
    border: 1px solid #2A3647;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap; 
}

.kanban__add-button:hover {
    background-color:#00BEE8;
    border-color: #00BEE8;
    transition: background-color 0.2s ease-in-out 0.1s;
    border-color: 0.2s ease-in-out 0.1s;
    box-shadow: 0px 3.5px 3px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.no-result {
    color: red;
    font-style: italic;
    position: absolute;
    top: 100%;
    left: 0; 
    padding-top: 4px;
    display: none;
}

.kanban__add-text{
    width: 92px;
    height: 24px;
    font-weight: 700;
    font-size: 21px;
    color: #FFFFFF;
    letter-spacing: 0%;
}

.kanban__add-icon {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;   
}

.kanban__grid-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    max-width: 1440px;
    width: 100%;
    gap: 28px;
    padding: 0 80px 16px 80px;
    overflow: hidden;
}

.kanban__section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%; 
}

.kanban__subtitle {
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    top: 0;
    z-index: 1;
    gap: 8px;
    padding: 8px 0;
    height: 56px;
    width: 100%;
    max-width: 280px;
    font-size: 24px;
    font-weight: 700;
}

.kanban__subtitle-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    color: #2A3647;
    border: 2px solid #2A3647;
    border-radius: 8px;  
}

.kanban__subtitle-plus::before {
    content: "+";
    transform: translateY(-1px);  
    display: inline-block;
}

.kanban__subtitle-plus:hover {
    color: #00BEE8;
    border-color: #00BEE8;  
    transition: color 0.2s ease-in-out 0.1s,
    border-color 0.2s ease-in-out 0.1s;    
    cursor: pointer;
}

.kanban__column {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    width: 130%;
}

.kanban__column::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.drag-area-highlight {
    border: 2px dashed #A8A8A8;
    width: 100%;
    max-width: 220px;
}

.card--notasks {
    font-family: "Open Sans";    
    width: 100%;
    max-width: 280px;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #E7E7E7;
    color: #A8A8A8;
    border: 1px solid #A8A8A8;
    height: 48px;             
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.16);  
}