body {
    background-color: #fdf2ff;
}
.sidebar {
    width: 250px;
    background: white;
    position: fixed;
    height: 100vh;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.sidebar a {
    display: flex;
width: 180px;
    padding: 10px;
    color: #878787;
    font-weight: 500;
    text-decoration: none;
}
a.sidebar-item active, a.sidebar-item:hover {
background: #ffebf0;
color: #a62099;
    border-radius: 8px;
}
.sidebar-item {
    display: flex;
    align-items: center; /* Align icon and text in one line */
    gap: 10px; /* Spacing between icon and text */
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
}
.sidebar-item.active{
    background: #ffebf0;
    color: #a62099;
        border-radius: 8px;
    }
a.sidebar-item img {
    width: 20px;
    height: 20px;
    transition: filter 0.2s ease-in-out;
}
a.sidebar-item.active img, a.sidebar-item:hover img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(78%) saturate(4500%) hue-rotate(300deg) brightness(95%) contrast(66%);
}
.sidebar-icon {
    width: 25px; /* Ensure uniform icon size */
    height: 24px;
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-content {
    margin-left: 270px;
    padding: 20px;
}
.contract-box {
    display: flex;
    flex-wrap: wrap; /* Allows component wrapping to next line */
    gap: 20px; 
    align-items: flex-start; 
}
.interface {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.upload-area {
    border: 2px dashed #d8d8d8;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    background-color: #f3f4f6;
}
.upload-area i {
    font-size: 40px;
    color: #7c4a66;
}
.upload-area h6 {
    color: #111111;
}
.btn-create {
    align-items: right;
    background: #ffffff;
    color: black;
    border-radius: 5px;
    border: 1px solid #ff0000;
    padding: 10px 15px;
    text-decoration: none;
}
.btn-create:hover {
    background: #dd00ff;
}
.btn-upload {
    background: #ff69b4;
    color: white;
    border-radius: 8px;
    padding: 10px 15px;
    text-decoration: none;
}
.btn-upload:hover {
    background: #d14791;
}
.contract-details {
    display: flex;
    justify-content: space-between;
    align-items: start; /* Aligns both sections at the top */
    gap: 20px;
}
.contract-columns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 48%;
}
.label-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.label-container label::after {
    margin-left: 5px;
}
.label-container label {
    width: 160px; /* Set fixed width for labels */
    text-align: left;
    white-space: nowrap; /* Prevents label from wrapping */
}

.interface h5 {
    border-bottom: 2px solid #a62099;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.view-button {
    background: #e3e3e3;
    color: black;
    border-radius: 6px;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    align-items: right;
}

.view-button:hover {
    background: #dd00ff;
    }
.button-container {
    text-align: right;
}
.table {
    width: 100%; 
    table-layout: fixed; /* Ensures equal column widths */
}
.table th, .table td {
    vertical-align: middle;
    text-align: center;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}
.icon-btn {
    background: none;
    border: none;
    color: #7c4a66;
    font-size: 18px;
}
.icon-btn:hover {
    color: #dd00ff;
}
.input-field {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
