 .ws-saas-websites {
     position: relative;
     min-height: calc(100vh - 140px);
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 32px 16px;
     background: linear-gradient(145deg, #eef4ff 0%, #ecfdf5 100%);
     overflow: hidden;
 }

 .ws-saas-websites__card {
     position: relative;
     z-index: 1;
     width: 100%;
     background: #ffffff;
     border-radius: 16px;
     box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
     padding: 30px;
 }

 .ws-saas-websites__title {
     margin: 0;
     color: #0f172a;
     font-size: 30px;
     line-height: 1.2;
 }

 .ws-saas-websites__subtitle {
     margin: 10px 0 24px;
     color: #475569;
     font-size: 14px;
 }

 .ws-saas-websites__notice {
     margin-bottom: 16px;
     border-radius: 10px;
     padding: 12px 14px;
     font-size: 13px;
     line-height: 1.5;
     display: flex;
     align-items: flex-start;
     justify-content: space-between;
     gap: 12px;
 }

 .ws-saas-websites__notice-text {
     flex: 1 1 auto;
 }

 .ws-saas-websites__notice-close {
     flex: 0 0 auto;
     border: 0;
     background: transparent;
     color: inherit;
     font-size: 20px;
     line-height: 1;
     cursor: pointer;
     padding: 0;
     opacity: 0.7;
 }

 .ws-saas-websites__notice-close:hover {
     opacity: 1;
 }

 .ws-saas-websites__notice--success {
     border: 1px solid #86efac;
     background: #f0fdf4;
     color: #166534;
 }

 .ws-saas-websites__notice--error {
     border: 1px solid #fecaca;
     background: #fef2f2;
     color: #b91c1c;
 }

 .ws-saas-websites__notice a {
     color: inherit;
     font-weight: 700;
     text-decoration: underline;
 }

 .ws-saas-websites__site-list {
     margin: 12px 0 0;
     padding-left: 18px;
 }

 .ws-saas-websites__site-list li {
     margin-bottom: 6px;
 }

 .ws-saas-websites__site-list small {
     margin-left: 8px;
     color: #64748b;
 }

 .ws-saas-websites__form {
     display: grid;
     gap: 14px;
 }

 .ws-saas-websites__field {
     display: grid;
     gap: 8px;
 }

 .ws-saas-websites__field label {
     font-size: 13px;
     font-weight: 600;
     color: #334155;
 }

 .ws-saas-websites__field input {
     width: 100%;
     height: 46px;
     border-radius: 10px;
     border: 1px solid #cbd5e1;
     padding: 0 14px;
     font-size: 14px;
     outline: none;
     transition: border-color .2s ease, box-shadow .2s ease;
     color: #0f172a;
     box-sizing: border-box;
     max-width: 100%;
     width: 100%;
     max-width: 100%;
     box-sizing: border-box;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
 }

 .ws-saas-websites__field input:focus {
     border-color: #2563eb;
     box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
 }

 .ws-saas-websites__subdomain-wrap {
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .ws-saas-websites__suffix {
     font-size: 13px;
     font-weight: 600;
     color: #475569;
     white-space: nowrap;
 }

 .ws-saas-websites__event-mode {
     display: flex;
     gap: 14px;
     flex-wrap: wrap;
 }

 .ws-saas-websites__event-mode label {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     font-size: 13px;
     font-weight: 500;
     color: #334155;
 }

 .ws-saas-websites__event-mode input {
     width: 16px;
     height: 16px;
     margin: 0;
     padding: 0;
 }

 .ws-saas-websites__field small {
     color: #64748b;
     font-size: 12px;
 }

 .ws-saas-websites--create {
     max-width: 600px;
 }

 .ws-saas-websites--manage {
     align-items: flex-start;
 }

 .ws-saas-websites__manage-head {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     margin-bottom: 14px;
     padding-bottom: 10px;
     border-bottom: 1px solid #e2e8f0;
 }

 .ws-saas-websites__manage-site {
     display: grid;
     gap: 4px;
     color: #334155;
     font-size: 13px;
 }

 .ws-saas-websites__manage-site a {
     color: #1d4ed8;
     text-decoration: none;
     word-break: break-all;
 }

 .ws-saas-websites__site-switcher {
     display: grid;
     gap: 6px;
     margin-bottom: 14px;
 }

 .ws-saas-websites__site-switcher label {
     font-size: 12px;
     font-weight: 700;
     color: #334155;
 }

 .ws-saas-websites__site-switcher select,
 .ws-saas-websites__group-row input,
 .ws-saas-websites__guest-grid input,
 .ws-saas-websites__guest-grid select {
     width: 100%;
     border-radius: 8px;
     border: 1px solid #cbd5e1;
     padding: 8px 12px;
     font-size: 13px;
     color: #0f172a;
     background: #fff;
     box-sizing: border-box;
     height: 33px;
 }

 .ws-saas-websites__guest-grid select {
     width: 100%;
     border-radius: 8px;
     border: 1px solid #cbd5e1;
     padding: 8px 12px;
     font-size: 13px;
     color: #0f172a;
     background: #fff;
     box-sizing: border-box;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     padding-right: 38px;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 12px center;
     background-size: 14px 14px;
 }

 .ws-saas-websites__site-switcher select:focus,
 .ws-saas-websites__group-row input:focus,
 .ws-saas-websites__guest-grid input:focus,
 .ws-saas-websites__guest-grid select:focus {
     border-color: #2563eb;
     box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
     outline: none;
 }

 .ws-saas-websites__stats {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 10px;
     margin-bottom: 14px;
 }

 .ws-saas-websites__manage-grid {
     display: flex;
     flex-direction: column;
     gap: 12px;
     margin-bottom: 12px;
 }

 /* Tab Navigation */
 .ws-saas-websites__tab-nav {
     display: flex;
     gap: 8px;
     border-bottom: 1px solid #e2e8f0;
 }

 .ws-saas-websites__tab-btn {
     padding: 12px 16px;
     border: none;
     background: transparent;
     color: #64748b;
     font-size: 14px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s ease;
     border-bottom: 3px solid transparent;
     margin-bottom: -2px;
     position: relative;
     font-family: "Lexend", sans-serif;
 }

 .ws-saas-websites__tab-btn:hover {
     color: #334155;
 }

 .ws-saas-websites__tab-btn.is-active {
     color: var(--primary);
     border-bottom-color: var(--primary);
 }

 /* Tab Panel */
 .ws-saas-websites__tab-panel {
     display: none;
 }

 .ws-saas-websites__tab-panel.is-active {
     display: block;
 }

 .ws-saas-websites__manage-block {
     border: 1px solid #e2e8f0;
     border-radius: 12px;
     background: #fff;
     padding: 14px;
     gap: 20px;
     display: flex;
     flex-direction: column;
 }

 .ws-saas-websites__manage-block h2 {
     margin: 0;
     font-size: 16px;
     color: #0f172a;
 }

 .ws-saas-websites__guest-list-head {
     display: flex;
     align-items: flex-end;
     justify-content: space-between;
     gap: 10px;
     flex-wrap: wrap;
 }

 .ws-button.ws-saas-websites__guest-filters-toggle {
     width: 100%;
     margin-left: auto;
     display: none;
 }

 .ws-saas-websites__guest-filters__wrapper {
     width: 100%;
     display: flex;
     justify-content: flex-end;
 }

 .ws-saas-websites__guest-filters {
     display: grid;
     grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 1fr));
     gap: 8px;
     width: min(100%, 760px);
 }

 .ws-saas-websites__guest-filter-field {
     display: grid;
     gap: 4px;
 }

 .ws-saas-websites__guest-filter-field span {
     font-size: 11px;
     font-weight: 700;
     color: #64748b;
 }

 .ws-saas-websites__guest-filter-field input,
 .ws-saas-websites__guest-filter-field select {
     width: 100%;
     border-radius: 8px;
     border: 1px solid #cbd5e1;
     padding: 8px 10px;
     font-size: 13px;
     color: #0f172a;
     background: #fff;
     box-sizing: border-box;
 }

 .ws-saas-websites__guest-filter-field select {
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     padding-right: 38px;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 12px center;
     background-size: 14px 14px;
 }


 .ws-saas-websites__guest-filter-field input:focus,
 .ws-saas-websites__guest-filter-field select:focus {
     border-color: #2563eb;
     box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
     outline: none;
 }

 .ws-saas-websites__group-form {
     display: grid;
     gap: 10px;
 }

 .ws-saas-websites__group-list {
     display: grid;
     gap: 8px;
 }

 .ws-saas-websites__group-row {
     display: grid;
     grid-template-columns: minmax(0, 1fr) auto;
     gap: 8px;
 }

 .ws-saas-websites__group-row-actions {
     display: flex;
     align-items: center;
     gap: 6px;
     flex-wrap: wrap;
 }

 .ws-saas-websites__group-row input[readonly] {
     background: #f8fafc;
     cursor: default;
 }

 .ws-saas-websites__group-modal-form {
     display: grid;
     gap: 24px;
 }

 .ws-saas-websites__event-modal-form {
     display: grid;
     gap: 24px;
 }

 .ws-saas-websites__event-head {
     display: flex;
     align-items: flex-start;
     justify-content: space-between;
     gap: 12px;
     flex-wrap: wrap;
 }

 .ws-saas-websites__event-head>div {
     display: grid;
     gap: 4px;
 }

 .ws-saas-websites__event-form {
     display: grid;
     gap: 16px;
 }

 .ws-saas-websites__event-repeater {
     display: grid;
     gap: 12px;
 }

 .ws-saas-websites__event-list {
     display: grid;
     gap: 10px;
 }

 .ws-saas-websites__event-card {
     border: 1px solid #e2e8f0;
     border-radius: 10px;
     padding: 12px;
     background: #fcfdff;
     display: grid;
     gap: 10px;
 }

 .ws-saas-websites__event-card-head {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 10px;
 }

 .ws-saas-websites__event-card-title {
     margin: 0;
     font-size: 13px;
     color: #0f172a;
 }

 .ws-saas-websites__event-remove {
     border: 1px solid #fecaca;
     border-radius: 8px;
     background: #fff1f2;
     color: #b91c1c;
     font-size: 12px;
     font-weight: 700;
     line-height: 1;
     padding: 8px 10px;
     cursor: pointer;
 }

 .ws-saas-websites__event-add {
     justify-self: start;
     border: 1px dashed #93c5fd;
     border-radius: 8px;
     background: #eff6ff;
     color: #1d4ed8;
     font-size: 13px;
     font-weight: 700;
     line-height: 1;
     padding: 10px 12px;
     cursor: pointer;
 }

 .ws-saas-websites__guest-actions {
     display: flex;
     align-items: center;
     gap: 12px;
     justify-content: flex-end;
 }

 .ws-saas-websites__event-actions {
     display: flex;
     justify-content: flex-start;
 }

 .ws-saas-websites__guest-list-head {
     gap: 20px;
 }

 @media (max-width: 768px) {

     .ws-saas-websites__hint {
         padding-top: 10px;
     }

     .ws-saas-websites__group-actions,
     .ws-saas-websites__guest-actions {
         grid-template-columns: 1fr;
     }

     .ws-saas-websites__manage-block {
         border: unset;
         padding-inline: unset;
     }

     .ws-saas-websites__event-card-head {
         flex-direction: column;
         align-items: flex-start;
     }

     .ws-saas-websites__event-remove,
     .ws-saas-websites__event-add {
         width: 100%;
         justify-content: center;
     }

 }

 .ws-manage__setting--full {
     grid-column: 1 / -1;
 }

 .ws-saas-websites__guest-form {
     display: grid;
     gap: 24px;
 }

 .ws-saas-websites__guest-grid {
     display: grid;
     gap: 10px;
     grid-template-columns: repeat(2, minmax(0, 1fr));
 }

 .ws-saas-websites__guest-grid label {
     display: grid;
     gap: 6px;
     font-size: 12px;
     font-weight: 700;
     color: #334155;
 }

 .ws-saas-websites__guest-modal {
     position: fixed;
     inset: 0;
     z-index: 999;
     display: none;
     align-items: center;
     justify-content: center;
 }

 .ws-saas-websites__guest-modal.is-open {
     display: flex;
 }

 .ws-saas-websites__guest-modal-backdrop {
     position: absolute;
     inset: 0;
     background: rgba(15, 23, 42, 0.5);
 }

 .ws-saas-websites__guest-modal-content {
     position: relative;
     z-index: 1;
     width: min(100% - 32px, 640px);
     max-height: calc(100vh - 48px);
     background: #fff;
     border-radius: 8px;
     box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
     padding: 18px 18px 16px;
     overflow: auto;
     display: grid;
     gap: 12px;
 }

 .ws-saas-websites__guest-modal-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 8px;
     margin-bottom: 4px;
 }

 .ws-saas-websites__guest-modal-header h2 {
     margin: 0;
     font-size: 18px;
     color: #0f172a;
 }

 .ws-saas-websites__guest-modal-close {
     border: 0;
     background: transparent;
     color: #64748b;
     font-size: 22px;
     line-height: 1;
     cursor: pointer;
 }

 .ws-saas-websites__guest-modal-close:hover {
     color: #0f172a;
 }

 .ws-saas-websites__hint {
     margin: 0;
     font-size: 12px;
     color: #475569;
 }

 .ws-saas-websites__hint--error {
     color: #b91c1c;
 }

 .ws-saas-websites__table-wrap {
     overflow: auto;
     border-radius: 10px;
 }

 .ws-saas-websites__guest-table {
     width: 100%;
     border-collapse: collapse;
     min-width: 760px;
 }

 .ws-saas-websites__guest-table th,
 .ws-saas-websites__guest-table td {
     text-align: left;
     padding: 10px 12px;
     border-bottom: 1px solid #e2e8f0;
     font-size: 13px;
     color: #1e293b;
     vertical-align: top;
 }

 .ws-saas-websites__guest-table th {
     background: #f8fafc;
     font-size: 12px;
     color: #475569;
     font-weight: 700;
 }

 .ws-saas-websites__table-actions {
     display: flex;
     align-items: center;
     gap: 6px;
     flex-wrap: wrap;
 }

 .ws-saas-websites__event-table td a {
     color: #1d4ed8;
     font-weight: 600;
     text-decoration: none;
 }

 .ws-saas-websites__event-table td a:hover {
     text-decoration: underline;
 }

 .ws-saas-websites__table-actions form {
     margin: 0;
 }

 .ws-saas-websites__chip-btn.is-hidden {
     display: none;
 }

 @media (max-width: 768px) {
     .ws-saas-websites {
         background: #fff;
     }

     .ws-saas-websites__card {
         padding: 0;
         box-shadow: unset;
     }

     .ws-saas-websites__title {
         font-size: 26px;
     }

     .ws-saas-websites__subdomain-wrap {
         flex-direction: column;
         align-items: stretch;
     }

     .ws-saas-websites__suffix {
         font-size: 12px;
     }

     .ws-saas-websites__manage-head {
         display: grid;
         grid-template-columns: 1fr;
     }

     .ws-saas-websites__stats,
     .ws-saas-websites__guest-grid {
         grid-template-columns: 1fr;
     }

     .ws-saas-websites__tab-nav {
         flex-wrap: nowrap;
         overflow-x: auto;
         overflow-y: hidden;
         -webkit-overflow-scrolling: touch;
         scroll-snap-type: x proximity;
     }

     .ws-saas-websites__tab-nav::-webkit-scrollbar {
         height: 0;
     }

     .ws-saas-websites__tab-nav::-webkit-scrollbar-thumb {
         background: transparent;
         border-radius: 999px;
     }

     .ws-saas-websites__tab-btn {
         padding: 10px 12px;
         flex: 0 0 auto;
         scroll-snap-align: start;
     }

     .ws-saas-websites__guest-modal-content {
         width: 100%;
         max-height: 100vh;
         border-radius: 0;
     }

     .ws-button.ws-saas-websites__guest-filters-toggle {
         display: inline-flex;
     }

     .ws-saas-websites__guest-filters {
         grid-template-columns: 1fr;
         width: 100%;
         display: none;
     }

     .ws-saas-websites__guest-filters.is-open {
         display: grid;
     }

     .ws-saas-websites__table-wrap {
         overflow: visible;
     }

     .ws-saas-websites__guest-table {
         min-width: 0;
     }

     .ws-saas-websites__guest-table thead {
         display: none;
     }

     .ws-saas-websites__guest-table tbody {
         display: grid;
         gap: 10px;
     }

     .ws-saas-websites__guest-table tr {
         display: block;
         border: 1px solid #e2e8f0;
         border-radius: 10px;
         background: var(--secondary);
         padding: 10px 12px;
     }

     .ws-saas-websites__guest-table td {
         display: flex;
         align-items: flex-start;
         justify-content: space-between;
         gap: 10px;
         padding: 6px 0;
         border-bottom: 1px dashed #e2e8f0;
         font-size: 13px;
     }

     .ws-saas-websites__guest-table td::before {
         content: attr(data-label) ":";
         font-weight: 700;
         color: #475569;
         flex-shrink: 0;
     }

     .ws-saas-websites__guest-table td:last-child {
         border-bottom: 0;
         padding-bottom: 0;
     }

     .ws-saas-websites__guest-table .ws-saas-websites__table-actions {
         width: 100%;
         justify-content: flex-end;
     }

     .ws-saas-websites__guest-table tr.ws-saas-websites__table-empty,
     .ws-saas-websites__guest-table tr.ws-saas-websites__table-filter-empty {
         border: 0;
         padding: 0;
         background: transparent;
     }

     .ws-saas-websites__guest-table tr.ws-saas-websites__table-empty td,
     .ws-saas-websites__guest-table tr.ws-saas-websites__table-filter-empty td {
         display: block;
         border: 0;
         padding: 0;
     }

     .ws-saas-websites__guest-table tr.ws-saas-websites__table-empty td::before,
     .ws-saas-websites__guest-table tr.ws-saas-websites__table-filter-empty td::before {
         content: none;
     }

     .ws-saas-websites__toast-container {
         max-width: calc(100% - 32px);
     }

     .ws-saas-websites__toast {
         font-size: 12px;
         padding: 12px 14px;
     }
 }

 .ws-saas-websites__submit.is-loading {
     opacity: 0.85;
     pointer-events: none;
 }

 .ws-saas-websites__submit.is-loading .ws-btn__icon-before {
     display: none;
 }

 .ws-saas-websites__submit.is-loading::before {
     content: "";
     width: 12px;
     height: 12px;
     border-radius: 50%;
     border: 2px solid currentColor;
     border-top-color: transparent;
     animation: wsWebsitesSpin .7s linear infinite;
 }

 @keyframes wsWebsitesSpin {
     to {
         transform: rotate(360deg);
     }
 }

 .ws-saas-websites__group-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     width: 100%;
 }

 /* Toast Notification */
 .ws-saas-websites__toast-container {
     position: fixed;
     top: 70px;
     right: 16px;
     z-index: 9999;
     display: flex;
     flex-direction: column;
     gap: 8px;
     pointer-events: none;
     max-width: 320px;
 }

 .ws-saas-websites__toast {
     background: #ffffff;
     border-radius: 8px;
     padding: 14px 16px;
     font-size: 13px;
     line-height: 1.5;
     box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
     border-left: 4px solid #2563eb;
     pointer-events: auto;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 12px;
     animation: wsToastSlideIn 0.3s ease-out forwards;
     color: #1e293b;
 }

 .ws-saas-websites__toast--success {
     border-left-color: #16a34a;
     background: #f0fdf4;
     color: #166534;
 }

 .ws-saas-websites__toast--error {
     border-left-color: #dc2626;
     background: #fef2f2;
     color: #b91c1c;
 }

 .ws-saas-websites__toast-text {
     flex: 1 1 auto;
 }

 .ws-saas-websites__toast-close {
     flex: 0 0 auto;
     border: 0;
     background: transparent;
     color: inherit;
     font-size: 18px;
     line-height: 1;
     cursor: pointer;
     padding: 0;
     opacity: 0.6;
     transition: opacity 0.2s ease;
 }

 .ws-saas-websites__toast-close:hover {
     opacity: 1;
 }

 .ws-saas-websites__toast.is-closing {
     animation: wsToastSlideOut 0.3s ease-out forwards;
 }

 @keyframes wsToastSlideIn {
     from {
         transform: translateX(400px);
         opacity: 0;
     }

     to {
         transform: translateX(0);
         opacity: 1;
     }
 }

 @keyframes wsToastSlideOut {
     from {
         transform: translateX(0);
         opacity: 1;
     }

     to {
         transform: translateX(400px);
         opacity: 0;
     }
 }