/* Side Drawer Calendar */
.sidebar-calendar {
    position: fixed;
    top: 64px;
    right: 0;
    height: calc(100dvh - 80px);
    background: #fff;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    width: 320px;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}
.sidebar-calendar.open {
    transform: translateX(0);
}
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    border-bottom: 1px solid #e0e0e0;
}
.calendar-header span {
    font-weight: 500;
    font-size: 16px;
}
.calendar-header .material-icons {
    cursor: pointer;
    font-size: 20px;
    color: #555;
}
.calendar-header .material-icons {
    cursor: pointer;
}
.calendar-date {
    font-size: 14px;
    color: #555;
    padding: 0 16px;
}
.calendar-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px;
}
.calendar-controls button {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
}
.calendar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
}
.time-slot {
    border-bottom: 1px solid #e0f0ff;
    padding: 10px 0;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
}
.time-slot > .tasks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.time-slot > .tasks > .task {
    background-color: #4285f4;
    border-radius: 6px;
    padding: 4px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
}
.time-slot > .tasks > .task > span {
    display: block;
    color: #fff;
    font-size: 10px;
    margin-top: 2px;
}
.task {
    background: #f1f3f4;
    margin: 4px 0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}
.task span {
    display: block;
    font-size: 11px;
    color: #666;
}
.current-time {
    background-color: #e8f0fe;
    border-left: 4px solid #1a73e8;
    font-weight: bold;
    padding-left: 8px;
}
.date-picker {
    position: relative;
    display: inline-block;
}
.date-display {
}
.calendar_dropdown {
    position: absolute;
    top: 40px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 10px;
    display: none;
    z-index: 10;
}
.calendar_dropdown.open {
    display: block;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 32px);
    gap: 4px;
    justify-content: center;
}
.calendar-day,
.calendar-cell {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
}
.calendar-day {
    font-weight: bold;
    color: #666;
}
.calendar-cell {
    cursor: pointer;
}
.calendar-cell:hover {
    background: #e0f0ff;
}
.calendar-cell.selected {
    background: #4285f4;
    color: white;
}
.date-display span.material-icons {
    vertical-align: middle;
    font-size: 20px;
    color: #555;
    cursor: pointer;
}
.calendar-cell.today {
    border: 1px solid #4285f4;
    font-weight: bold;
}

/* Task Details */
.task-detail-drawer {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100% - 79px);
    background: white;
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: transform 0.3s ease, height 0.3s ease;
}
.task-detail-drawer.hidden {
    transform: translateX(100%);
    height: 0px;
}
.task-detail-drawer__overlay {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -26px;
    height: 100%;
    background-color: #00000038;
    z-index: -1;
    height: 60px;
}
.task-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    z-index: 99;
    position: relative;
    background-color: #fff;
    padding: 16px;
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
}
.cursor-pointer {
    cursor: pointer;
}
.task-detail-body {
    padding: 16px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.task-detail-body > p {
    font-size: 14px;
}
.task-detail-body > p > strong {
    font-weight: 500;
}

/* Add Contacts */
.contact_btn__wrapper {
    padding: 12px 4px;
}
.create_contact_btn {
    border: 0;
    margin: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 2px;
    outline: 0;
    color: #0b57d0;
    font-size: 0.875rem;
    line-height: 18px;
    font-weight: 500;
    width: 100%;
    padding: 9px 10px;
    border-radius: 30px;
}
.create_contact_btn:hover {
    background-color: #e0f0ff;
}
.create_contact_btn .material-icons {
    font-size: 20px;
    color: #0b57d0;
}
.total_contact_span {
    color: #444746;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.00625rem;
    line-height: 1rem;
}
.contact_list__wrapp {
    padding-block: 8px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact_list__wrapp:nth-of-type(even) .contact_initial {
    background-color: #009ba6;
}
.contact_list__wrapp:nth-of-type(odd) .contact_initial {
    background-color: orange;
}
.contact_initial {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    background-color: violet;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact_list__wrapp:nth-of-type(2) .contact_initial {
    background-color: #0b57d0;
}
.contact_list__wrapp:nth-of-type(3) .contact_initial {
    background-color: #444746;
}
.contact_full_name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.25rem;
    color: #1f1f1f;
    display: flex;
    flex-direction: column;
}
.contact_full_name .contact_email_details {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.00625rem;
    line-height: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444746;
}
.contact_details__wrapr .profile-container {
    margin: auto;
    text-align: center;
    padding: 16px;
    position: relative;
    z-index: 9;
    background: white;
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
    box-shadow: -2px -13px 10px -2px rgba(0, 0, 0, 0.1);
}
.contact_details__wrapr .avatar {
    background-color: #ad1457;
    color: #fff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: auto;
}
.contact_details__wrapr .icon-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}
.contact_details__wrapr .icon-btn {
    width: 40px;
    height: 40px;
    background-color: #c2e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    outline: 0;
}
.contact_details__wrapr .icon-btn .material-icons {
    margin-right: 0;
    color: #1f1f1f;
}
.contact_details__wrapr .icon-btn:disabled { 
    background-color: #eee;
    cursor: not-allowed;
}  
.contact_details__wrapr .icon-btn:disabled .material-icons {
    color: #444746;
}
.contact_details__wrapr .card-section {
    background-color: #f1f6fc;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}
.contact_details__wrapr .material-icons {
    vertical-align: middle;
    margin-right: 8px;
    font-size: 20px;
}
.contact_details__wrapr .section-title { 
    margin-bottom: 10px;
    font-size: .875rem;
    font-weight: 500;    
    line-height: 1.25rem;
    color: #000000de;
}
.contact_details__wrapr a {
    text-decoration: none;
    color: #1a73e8;
}
.contact_details__wrapr a:hover {
    text-decoration: underline;
}
.profile-info__flex {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #444746;
}