body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fa;
}

.header {
    text-align: center;
    padding: 30px 10px;
    background: linear-gradient(to right, #004466, #006699);
    color: white;
    margin: 0;
    font-size: 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #004466, #006699);
    padding: 10px 20px;
    color: white;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #006699;
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 120px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 6px;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.case-dropdown-container {
    width: 80%;
    margin: 20px auto;
}

.case-dropdown {
    background: #eef4f7;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.case-header {
    padding: 12px 20px;
    font-weight: bold;
    background-color: #dbeaf0;
    border-bottom: 1px solid #ccc;
}

.case-body {
    padding: 15px 20px;
    display: none;
    background-color: #f9fcfd;
}

.box {
    background: #ffffff;
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.editable-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.editable-table th, .editable-table td {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff;
}

.editable-area {
    border: 1px dashed #999;
    padding: 15px;
    min-height: 200px;
    background-color: #fcfcfc;
    margin-bottom: 10px;
}

.output-area {
    background: #f8f9fa;
    padding: 15px;
    border: 1px solid #ddd;
    min-height: 200px;
    font-style: italic;
    margin-bottom: 10px;
}

.save-button {
    background-color: #0077cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.save-button:hover {
    background-color: #005fa3;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #004466, #006699);
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    text-align: center;
    width: 300px;
}

.login-container h2 {
    margin-bottom: 10px;
    color: #004466;
}

.login-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.login-button {
    background-color: #0077cc;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s;
}

.login-button:hover {
    background-color: #005fa3;
}

.case-wrapper {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #eef4f7;
}

.case-header {
    padding: 12px 20px;
    font-weight: bold;
    background-color: #dbeaf0;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.tab-buttons {
    display: flex;
    margin-bottom: 10px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f0f0f0;
    cursor: pointer;
}

.tab-btn.active {
    background: white;
    font-weight: bold;
}

.tab-content {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    padding: 10px;
    background: white;
}

.tab-content.active {
    display: block;
}