﻿body {
}
.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}
/* Add a line after each dt/dd pair in the row */
.card-body dl.row > dt,
.card-body dl.row > dd {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

    /* Remove the border from the last dt/dd pair */
    .card-body dl.row > dt:last-of-type,
    .card-body dl.row > dd:last-of-type {
        border-bottom: none;
    }


/* Desktop Application Styles */

/* Container */
.desktop-app-container {
    width: 100%;
    margin: 20px auto;
    border: 2px solid #000;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Title Bar */
.title-bar {
    background: linear-gradient(to right, #c0c0c0, #f0f0f0);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-bar-text {
    font-weight: bold;
}

.title-bar-controls button {
    background: #e0e0e0;
    border: none;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    position: relative;
}

    .title-bar-controls button::before {
        content: '';
        position: absolute;
        width: 10px;
        height: 2px;
        background: #000;
        top: 7px;
        left: 3px;
    }

    .title-bar-controls button[aria-label="Maximize"]::before {
        width: 10px;
        height: 10px;
        border: 2px solid #000;
        top: 2px;
        left: 2px;
        background: none;
    }

    .title-bar-controls button[aria-label="Close"] {
        background: #ff5c5c;
    }

/* Content */
.app-content {
    padding: 20px;
    background-color: #fff;
}

/* Form Fields */
.field-group {
    margin-bottom: 20px;
}

    .field-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

.text-box {
    width: 100%;
    padding: 5px;
    border: 1px solid #999;
    box-sizing: border-box;
}

.validation-error {
    color: red;
    font-size: 0.9rem;
}

/* Data Grid */
.data-grid-container {
    margin-top: 30px;
}

.data-grid-header {
    background-color: #0078d7;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
}

.data-grid {
    width: 100%;
    border-collapse: collapse;
}

    .data-grid th, .data-grid td {
        border: 1px solid #999;
        padding: 8px;
        text-align: center;
    }

    .data-grid th {
        background-color: #e0e0e0;
    }

.employee-name {
    font-weight: bold;
}

/* Buttons */
.button-group {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.button {
    padding: 10px 20px;
    background-color: #e0e0e0;
    border: none;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

    .button i {
        margin-right: 5px;
    }

    .button.primary {
        background-color: #0078d7;
        color: #fff;
    }

        .button.primary:hover {
            background-color: #005a9e;
        }

    .button:hover {
        background-color: #ccc;
    }

/* Status Bar */
.status-bar {
    background-color: #f0f0f0;
    padding: 5px 10px;
    margin-bottom: 20px;
    color: red;
}

.navbar {
    --bs-navbar-padding-x: 0 !important;
    --bs-navbar-padding-y: 0 !important;
    padding: 0 !important;
}
