body {
    margin: 0;
    font-family: Arial;
    text-align: center;
    color: #333;
    background-color: #eaeaea;
    overflow: hidden;
}

.loading-overlay {
    cursor: wait;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    z-index: 2000;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    z-index: 1000;
    top: 0;
    padding: 0 15px;
    height: 55px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    box-sizing: border-box;
}

.home-icon {
    vertical-align: middle;
    height: 37px;
    width: 37px;
    transition: transform 0.2s ease;
}

@media (hover: hover) {
    .home-icon:hover {
        transform: scale(1.1);
    }
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-buttons button, .header-buttons a {
    text-decoration: none;
    font-size: 14px;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    transition: background-color 0.2s ease;
}

#manage-button {
    background-color: #3498db;
}

#view-button {
    background-color: #f39c12;
}

#save-button {
    background-color: #4CAF50;
}

@media (hover: hover) {
    #manage-button:hover {
        background-color: #2980b9;
    }

    #view-button:hover {
        background-color: #e67e22;
    }

    #save-button:hover {
        background-color: #45a049;
    }
}

.content {
    margin-top: 55px;
    height: calc(100dvh - 55px);
    overflow: auto;
}

.inner-content {
    margin: 30px;
}

.title-container {
    background-color: white;
    display: inline-block;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    word-wrap: break-word;
}

h1 {
    color: #34495e;
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 20px;
}

.input-container {
    background-color: white;
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.input-container label {
    font-weight: bold;
    margin-bottom: 10px;
}

.input-container input, textarea, select {
    font-family: Arial;
    padding: 10.5px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
}

.input-container input:focus, textarea:focus, select:focus {
    border-color: #3498db;
}

.input-container input {
    margin-bottom: 20px;
}