@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');

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

html {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    height: 100vh;
}

body {
    display: flex;
    height: 100vh;
    overflow: hidden;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.search-div {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    width: 300px;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-bar i {
    color: #6c757d;
    margin-right: 0.5rem;
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    width: 100%;
    color: #333;
}

.search-bar input::placeholder {
    color: #6c757d;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icons i {
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.header-icons i:hover {
    background-color: #f8f9fa;
}


nav {
    width: 280px;
    height: 100vh;
    background-color: #2c3e50;
    padding: 2rem 0;
    margin-top: 70px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.button-container a {
    text-decoration: none;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.button-container a.active button {
    background-color: #3498db;
    color: white;
}

.button-container button {
    width: 100%;
    background: none;
    border: none;
    color: #bdc3c7;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button-container button:hover {
    background-color: #34495e;
    color: white;
}

.button-container button i {
    width: 20px;
    text-align: center;
}


main {
    margin-left: 280px;
    margin-top: 70px;
    padding: 2rem;
    width: calc(100% - 280px);
    height: calc(100vh - 70px);
    overflow-y: auto;
    background-color: #f5f5f5;
}


.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}


.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.summary-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.card-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.1rem;
}


.tabs-section {
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    gap: 0;
    background-color: white;
    border-radius: 8px;
    padding: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.tab.active {
    background-color: #3498db;
    color: white;
}

.tab:hover:not(.active) {
    background-color: #f8f9fa;
    color: #495057;
}


.entries-section {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.entries-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.entries-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entry-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.entry-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.entry-card.blue {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.entry-card.green {
    background-color: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.entry-content {
    flex: 1;
}

.entry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.entry-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.status-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-tag.declarabel {
    background-color: #cce5ff;
    color: #004085;
}

.status-tag.intern {
    background-color: #d4edda;
    color: #155724;
}

.assignee {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.description {
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.date i {
    font-size: 0.8rem;
}

.entry-duration {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    min-width: 40px;
    text-align: right;
}


@media (max-width: 768px) {
    nav {
        width: 100%;
        height: auto;
        position: relative;
        margin-top: 0;
    }
    
    main {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        height: auto;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .entry-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .entry-duration {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .header-icons {
        gap: 0.5rem;
    }
    
    .search-div {
        width: 200px;
    }
    
    .entries-section {
        padding: 1rem;
    }
    
    .entry-card {
        padding: 1rem;
    }
    
    .card-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-icon {
        align-self: flex-end;
    }
}
