@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 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

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

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

.new-entry-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.new-entry-btn:hover {
    background-color: #2980b9;
}


.filters {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filters h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    flex: 1;
    min-width: 250px;
}

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

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

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

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 0.9rem;
    color: #333;
    min-width: 150px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #3498db;
}

.more-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.more-filters:hover {
    background-color: #e9ecef;
    color: #495057;
}


.log-entries {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.log-entry {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

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

.entry-number {
    font-size: 2rem;
    font-weight: 700;
    color: #bdc3c7;
    min-width: 40px;
    text-align: center;
}

.entry-content {
    flex: 1;
}

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

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

.category-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.category-tag.development {
    background-color: #3498db;
}

.category-tag.research {
    background-color: #17a2b8;
}

.category-tag.design {
    background-color: #fd7e14;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.month {
    font-weight: 600;
    text-transform: lowercase;
}

.hours, .date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.entry-description {
    color: #495057;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.entry-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.entry-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0.5rem;
}

.entry-actions i {
    font-size: 1.1rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.entry-actions i:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.entry-actions .fa-trash:hover {
    background-color: #f8d7da;
    color: #dc3545;
}

@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;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .log-entry {
        flex-direction: column;
    }
    
    .entry-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}