#formzard-templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.formzard-template {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.formzard-template h3 {
    margin-top: 0;
    font-size: 18px;
}
.formzard-toast {
    width: 300px;
    height: 40px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #323232;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: formzard-fadeInOut 5s ease forwards;
    position: relative;
    font-size: 17px;
    line-height: 1.5; 
}
.formzard-toast::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    animation: anim 5s linear forwards;
}
.formzard-toast-success::after {
    background-color: #4caf50;
}
.formzard-toast-error::after {
    background-color: #f44336;
}
@keyframes formzard-fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    10%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}
@keyframes anim {
    0% { 
        width: 100%; 
    }
    100% { 
        width: 0; 
    }
}
.formzard-toast-icon {
    margin-right: 10px;
    color: inherit;
}
.formzard-toast-icon:before {
    font-size: 18px;
}
.formzard-toast-success .formzard-toast-icon {
    color: #4caf50;
}
.formzard-toast-error .formzard-toast-icon {
    color: #f44336;
}
/* Container for Tabs and Tab Contents */
.formzard-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Space between the tabs and the contents */
}
/* Tabs on the left */
.nav-tab-wrapper {
    display: flex;
    flex-direction: column; /* Stack tabs vertically */
    width: 250px; /* Set a fixed width for the tabs section */
    border-right: 1px solid #ddd; /* Add a right border for separation */
    padding-right: 15px; /* Space between the tabs and the border */
}
/* Tab Contents on the right */
.formzard-tabs {
    flex: 1; /* Take the remaining space */
    padding-left: 15px; /* Space between the content and the left section */
    border-left: 1px solid #ddd; /* Optional left border for symmetry */
}
/* Active tab styling */
.nav-tab {
    display: block;
    padding: 10px;
    text-align: left;
    color: #007cba;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-tab-active {
    background-color: #007cba;
    color: #fff;
    border-color: #007cba;
}
.nav-tab:hover {
    background-color: #eaf4fc;
}
/* Optional: Make the templates look nice within the content */
.formzard-tab-content {
    margin-top: 0; /* Reset margin since it's now part of a layout */
}