html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 12px;
    overflow: hidden; /* Ensure content stays within the task pane */
    background-image: linear-gradient(to bottom, #f0fcfd, #ffffff);
}

.ms-welcome__header {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ms-welcome__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 5px 10px;
    box-sizing: border-box;
    width: 100%;
}

.ms-welcome__main > h2 {
    font-size: 14px;
    text-align: center;
}

.ms-welcome__action.ms-Button--hero {
    margin-top: 10px;
    font-size: 12px;
}

.table-wrapper {
    width: 100%;
    max-height: 250px; /* Adjust the height as per the task pane's available space */
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrolling if it's not needed */
    box-sizing: border-box;
    border: 1px solid #3A5DC7; /* Optional: Add a border to make the table stand out */
}

.ms-Table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Fixed table layout to control column width */
    font-size: 13px;
}

.ms-Table th,
.ms-Table td {
    border: 1px solid #3A5DC7;
    padding: 4px 6px; /* Minimized padding */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Prevent content overflow */
    text-overflow: ellipsis; /* Show ellipsis for overflowed content */
}

.ms-Table th {
    background-color: #f2f2f2;
    text-align: left;
}

.ms-Table td {
    max-width: 200px; /* Limit the maximum width of table cells */
    word-wrap: break-word; /* Allow breaking within words */
    overflow-wrap: break-word; /* Ensure breaking works in all browsers */
    white-space: normal; /* Allow content to wrap to a new line */
}

/* Update the font size of the heading */
.ms-welcome__main > h2 {
    font-size: 20px; /* Increased font size */
    text-align: center;
    margin-bottom: 10px;
}

/* button css */

/* Button container */
#button-container {
    display: flex;
    gap: 14px;
    justify-content: center; /* Center the buttons horizontally */
    margin-top: 20px; /* Add some space above the buttons */
}

/* Base button styling */
.ms-welcome__action.ms-Button--hero {
    font-size: 16px; /* Adjusted font size */
    color: #ffffff; /* White text color */
    padding: 12px 24px; /* Increased padding for larger buttons */
    border: none; /* Remove default border */
    border-radius: 20px; /* Slightly rounded corners */
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transitions */
    background-image: linear-gradient(135deg, #0078d7 0%, #005a9e 100%); /* Blue gradient background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Hover effect */
.ms-welcome__action.ms-Button--hero:hover {
    background-image: linear-gradient(135deg, #005a9e 0%, #004578 100%); /* Darker gradient on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
}

/* Active state */
.ms-welcome__action.ms-Button--hero:active {
    background-image: linear-gradient(135deg, #004578 0%, #00345d 100%); /* Even darker gradient on active */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Smaller shadow on active */
}

/* Focus state */
.ms-welcome__action.ms-Button--hero:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.5); /* Custom focus ring */
}

/* Disabled state */
.ms-welcome__action.ms-Button--hero.button-disabled {
    background-image: none; /* Remove gradient background */
    background-color: #cccccc; /* Greyed-out background color */
    cursor: not-allowed;
    box-shadow: none; /* Remove shadow */
    color: #666666; /* Darker text color */
}

/* Prevent hover and active effects when disabled */
.ms-welcome__action.ms-Button--hero.button-disabled:hover,
.ms-welcome__action.ms-Button--hero.button-disabled:active {
    background-image: none;
    background-color: #cccccc;
    box-shadow: none;
}

/* 'Clear' button specific styling */
#clear.ms-welcome__action.ms-Button--hero {
    background-image: linear-gradient(135deg, #d9534f 0%, #c9302c 100%); /* Red gradient background */
}

/* 'Clear' button hover effect */
#clear.ms-welcome__action.ms-Button--hero:hover {
    background-image: linear-gradient(135deg, #c9302c 0%, #ac2925 100%); /* Darker red gradient on hover */
}

/* 'Clear' button active state */
#clear.ms-welcome__action.ms-Button--hero:active {
    background-image: linear-gradient(135deg, #ac2925 0%, #961f1b 100%); /* Even darker red gradient on active */
}



.divider {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    /* Adjust spacing around the dividers */
}

.info-text {
    color: black;
    text-align: center;
    font-size: 14px; /* Slightly rounded font size */
    line-height: 1.3; /* Improves readability with proper line spacing */
    /* Adds margin around the heading */
}

/* Scrollbar styling for WebKit browsers (Chrome, Safari, Edge) */
.card::-webkit-scrollbar {
    width: 0.2rem; /* Thin scrollbar */
    background-color: #0d3b97; /* Background color for scrollbar track */
}

.card::-webkit-scrollbar-thumb {
    background-color: #008de4; /* Color for scrollbar thumb */
    border-radius: 1px; /* Rounded scrollbar thumb for a modern look */
}

/* Ensure proper scrollbar behavior across different platforms */
.card-content p {
    margin: 5px 0;
    padding: 0;
    word-wrap: break-word;
}

.card-divider {
    height: 1px;
    background-color: slategray;
    margin: 10px 0; /* Space above and below the divider */
}
  


  
/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    padding: 8px;
    margin-left: 52px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: 
      conic-gradient(#0000 10%,#000),
      linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
            mask: var(--_m);
    -webkit-mask-composite: source-out;
            mask-composite: subtract;
    animation: l3 1s infinite linear;
  }
  @keyframes l3 {to{transform: rotate(1turn)}}


  
/* Carousel container */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 280px; /* Adjusted for slightly better layout */
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #ddd; /* Softer border */
    background-color: #f9f9f9; /* Softer white */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Softer, more prominent shadow */
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out; /* Smooth transformation for better interaction */
}

/* Carousel inner wrapper */
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex-direction: column;
    padding-bottom: 50px; /* Reduced padding for better balance */
}

/* Carousel item */
.carousel-item {
    min-width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff; /* Clean white background */
    border-radius: 10px; /* Softer card edges */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle shadow for card */
}

.carousel-item.active {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Card content */
.card-content {
    width: 100%;
}

.card-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px; /* Uniform spacing for all text */
}

.card-content p strong {
    color: #0078d7;
    font-weight: 600; /* Slightly stronger emphasis */
}

/* Divider between sections */
.card-content .divider {
    height: 1px;
    background-color: #e0e0e0; /* Softer light gray for divider */
    margin: 10px 0; /* Consistent spacing around the divider */
}

/* Carousel navigation */
.carousel-nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px; /* Adjusted for a sleeker look */
    background-color: rgba(255, 255, 255, 0.9); /* Softer background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px; /* More compact padding */
    box-sizing: border-box;
    border-top: 1px solid #ddd;
}

/* Carousel arrows */
.carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff; /* White background */
    border-radius: 50%; /* Circular buttons */
    cursor: pointer;
    border: 2px solid #0078d7; /* Blue border */
    outline: none;
    transition: background-color 0.3s, border-color 0.3s, fill 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for arrow buttons */
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    fill: #0078d7; /* Blue arrow icon */
}

.carousel-arrow:hover {
    background-color: #0078d7; /* Blue background on hover */
    border-color: #005a9e; /* Darker blue border on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
}

.carousel-arrow:hover svg {
    fill: #ffffff; /* White arrow icon on hover */
}

/* Disabled arrow styles */
.carousel-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.carousel-arrow.disabled svg {
    fill: #0078d7; /* Keep arrow icon color */
}

/* Slide counter */
.carousel-counter {
    font-size: 14px; /* Slightly smaller for a refined look */
    color: #666; /* Softer gray for counter text */
    text-align: center;
    flex-grow: 1;
}

/* Accessibility focus styles */
.carousel-arrow:focus {
    outline: 2px solid #005a9e;
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.4); /* Visible focus ring */
}

/* Prevent text selection inside carousel */
.carousel-container,
.carousel-container * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

  
  
  
  
  
  

  
  
  