﻿@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

body {
    font-family: "Poppins", sans-serif;
}

p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}

.mud-appbar {
    border-bottom: 2px solid #8c8684;
}

header .mud-button-label {
    text-transform: capitalize;
    font-weight: bold;
    font-size: 1.2rem;
}

header .menu-item {
    font-weight: bold;
    font-size: 1.2rem;
    font-family: "Poppins", sans-serif;
}

.mud-popover {
    max-width: 250px !important;
    overflow: hidden !important;
}

    .mud-popover .mud-list {
        padding: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

.custom-menu-item {
    padding: 12px 20px !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.2s;
    white-space: nowrap;
    max-width: none;
}

    .custom-menu-item:hover {
        background: #f5f5f5;
        transform: scale(1.03);
    }

.mud-list-item-icon {
    min-width: 50px !important;
}

.delete-dialog {
    backdrop-filter: blur(10px);
}

    .delete-dialog .mud-dialog-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: bold;
    }

.delete-icon {
    font-size: 1.8rem;
}

.content-text {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
}

.mud-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 8px;
}

.mud-input-label-inputcontrol {
    line-height: 1.2 !important;
}

.mud-charts-yaxis text {
    font-size: 8px !important;
}

.mud-charts-xaxis text {
    font-size: 9px !important;
}

.market-value-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 32px 16px;
}

.market-value-header {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}

.market-value-form-field {
    width: 150px;
}

.market-value-form-button {
    height: 40px;
    min-width: 120px;
}

.market-value-table-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 8px;
    gap: 16px;
}

.market-value-table-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.market-value-col-month {
    width: 100px;
    text-align: right;
    padding-right: 4px;
    font-size: 0.95rem;
}

.market-value-col-input {
    width: 200px;
}

.market-value-input-field {
    width: 100%;
}

.market-value-divider-static {
    width: 1px;
    height: 40px;
    background-color: #ccc;
}

.market-value-adornment-small .mud-input-adornment {
    font-size: 0.75rem !important;
}

.custom-tab {
    padding: 4px 10px !important;
    border: 1px solid var(--mud-palette-primary);
    font-size: 0.85rem;
    border-right: none;
    min-width: 120px !important;
}

.last-tab {
    border-right: 1px solid var(--mud-palette-primary);
}

.custom-tab-active {
    background-color: #b3b3b33d;
}

    .custom-tab-active:hover {
        background-color: #b3b3b33d !important;
    }

.custom-tab-container {
    border-bottom: 0;
}

.project-container {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 16px;
    background-color: white;
}


.project-detail-grid {
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid lightgray;
    font-size: 0.9rem;
    line-height: 1.7;
}

    .project-detail-grid .field-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 4px;
    }

.label-class {
    font-weight: 600;
    flex: 1;
}

.value-class {
    flex: 1;
}

.year-nav-container {
    border: 1px solid lightgray;
    padding: 6px 2rem 6px 2rem;
}

.year-nav-button {
    border: 1px solid var(--mud-palette-primary) !important;
    border-radius: 4px !important;
    width: 32px;
    height: 32px;
    justify-content: center;
    min-width: 32px;
    color: var(--mud-palette-primary) !important;
}

.custom-table {
    border: 1px solid lightgray;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.custom-table-header {
    background-color: #f3f4f6;
    font-weight: 600 !important;
}

.custom-table-row {
    transition: background-color 0.2s ease;
}

.custom-table-cell {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.custom-th {
    font-weight: 600 !important;
    border-bottom: 2px solid #ddd !important;
}

.project-search-grid {
    display: flex;
    gap: 16px;
    align-items: center;
}