@import url("css/Shared.css");
@import url("css/Components/Buttons.css");
@import url("css/Components/ContextMenu.css");
@import url("css/Components/LangaugeSelector.css");
@import url("css/Pages/Account.css");
@import url("css/Pages/NavMenu.css");

html {
    font-family: 'Segoe UI';
}

body {
    background: url('Images/Background90.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.auto-hyphen {
    hyphens: auto;
}

.otp-input-container {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-box {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.account-page-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-page-container {
    /*flex: 1;*/
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.home-page-side-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-section-container-main {
    width: 1300px;
    min-height: 750px;
    height: auto;
    background-color: white;
    border-radius: 15px;
    border: 1px solid #444444;
    box-shadow: 0 0 10px #999999;
    margin-right: 15px;
}

.home-section-container-side {
    width: 350px;
    min-height: 150px;
    height: auto;
    background-color: white;
    border-radius: 15px;
    border: 1px solid #444444;
    box-shadow: 0 0 10px #999999;
    margin-bottom: 15px;
}

.home-section-main {
    margin: 40px;
}

.home-section-side {
    display: flex;
    flex-direction: column;
    margin: 25px;
}

.home-section-main-header {
    margin-top: 0px;
    font-size: 24px;
}

.home-section-side-header {
    margin-top: 0px;
    font-size: 18px;
}

.home-section-side-company {
    margin-top: 0px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.home-section-license-title {
    display: flex;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .project-table th, td {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        padding: 8px;
        text-align: left;
    }

        .project-table th:first-child, td:first-child {
            width: 150px;
        }

        .project-table th:nth-child(3), td:nth-child(3) {
            width: 180px;
        }

        .project-table th:nth-child(4), td:nth-child(4) {
            width: 180px;
        }

    .project-table th {
        background-color: #fcfcfc;
        cursor: pointer;
        user-select: none;
    }

    .project-table tr {
        cursor: pointer;
        user-select: none;
    }

    .project-table tr:nth-child(even) {
        background-color: #fbfbfb;
    }


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
