.ppedd_account-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    font-family: "Segoe UI", sans-serif;
}

.content-wrap{
    margin-left: 3.5em;
    margin-right: 3.5em;
}

.entry-header {
    position: relative;
    margin-top: -50px !important;
}

.ppedd_user-info {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    z-index: 10;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 10px 20px;
    border-radius: 8px;
    align-items: center;
    display: flex;
    gap: 20px;
}

.ppedd_user-avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.ppedd_user-meta h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

h3{
    font-family: sans-serif !important;
}

.ppedd_logout-button {
    margin-top: 5px;
    display: inline-block;
    color: #2c7be5;
    text-decoration: none;
    font-weight: 500;
}

.ppedd_tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 40px 0 30px;
}

.ppedd_tab-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 18px 10px;
    text-align: center;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.ppedd_tab-grid a .dashicons {
    font-size: 28px;
    margin-bottom: 8px;
    color: #666;
}

.ppedd_tab-grid a.active {
    background: #e9f3ff;
    color: #2c7be5;
    border-color: #2c7be5;
}

.ppedd_tab-grid a.active .dashicons {
    color: #2c7be5;
}

.ppedd_tab-grid a:hover {
    background: #e0ebfa;
    color: #2c7be5;
}

.ppedd_tab-grid a:hover .dashicons {
    color: #2c7be5;
}

.ppedd_tab-content .tab {
    display: none;
}

.ppedd_tab-content .tab.active {
    display: block;
}

@media (max-width: 600px) {
       .entry-header {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 5px !important;
    }
    .ppedd_user-info {
        position: static;
        width: 100%;
        margin-top: 10px;
        background: #fff;
        box-shadow: none;
        padding: 10px 0;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ppedd_tab-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.publishpress-edd.edd-license-card {
    background: #fff !important;
    border: 1px solid #e2e2e2 !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    font-family: sans-serif !important;
}

.publishpress-edd .edd-license-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.publishpress-edd .edd-license-key {
  display: inline-block;
  background: #f1f5f9;
  padding: 6px 12px;
  font-size: 17px;
  font-family: monospace;
  border-radius: 6px;
  color: #333;
  word-break: break-word;
}

.publishpress-edd .edd-license-status {
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: capitalize;
  font-size: 17px;
}

.publishpress-edd .edd-license-status.status-active {
  background-color: #dcfce7;
  color: #166534;
}

.publishpress-edd .edd-license-status.status-expired {
  background-color: #fee2e2;
  color: #991b1b;
}

.publishpress-edd .edd-license-meta {
  margin-top: 15px;
  display: flex;
  gap: 40px;
  font-size: 17px;
  color: #555;
}

.publishpress-edd .edd-license-meta div {
  display: flex;
  gap: 5px;
  align-items: center;
}

.publishpress-edd .edd-license-actions {
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.publishpress-edd .edd-license-actions .button-link {
  color: #4b5563;
  font-size: 17px;
  text-decoration: underline;
  padding: 6px 0;
}

.publishpress-edd .edd-no-licenses p {
  padding: 20px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
  border-radius: 8px;
}

.publishpress-edd .edd-license-title {
    font-size: 17px;
    margin: 0 0 5px;
    color: #333;
    font-family: sans-serif !important;
}
.publishpress-edd .edd-license-product {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}
/* --- Purchase Card Styles --- */
.publishpress-edd.edd-purchase-card {
    background: #fff !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    font-family: sans-serif;
}

.publishpress-edd .edd-purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.publishpress-edd .edd-purchase-title {
    font-size: 17px;
    margin: 0 0 5px;
    color: #333;
}

.publishpress-edd .edd-purchase-date {
    font-size: 17px;
    color: #555;
}

.publishpress-edd .edd-purchase-status {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: capitalize;
    font-size: 17px;
    background-color: #f3f4f6;
    color: #333;
}

.publishpress-edd .edd-purchase-status.status-completed {
    color: #1b5e20 !important;
    background-color: #e0f7ec !important;
}

.publishpress-edd .edd-purchase-meta {
    margin-top: 15px;
    display: flex;
    gap: 40px;
    font-size: 17px;
    color: #555;
}

.publishpress-edd .edd-purchase-meta div {
    display: flex;
    gap: 5px;
    align-items: center;
}

.publishpress-edd .edd-purchase-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.publishpress-edd .edd-purchase-actions a[href*="action=manage_licenses"] {
    display: none !important;
}

/* custom upgrade */
.publishpress-edd .edd-license-upgrades-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.publishpress-edd .edd-upgrade-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
    margin-bottom: 20px;
}

.publishpress-edd .edd-upgrade-title {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #2d3748;
}

.publishpress-edd .edd-upgrade-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	font-size: 17px;
}

.publishpress-edd .edd-upgrade-price {
	color: #4a5568;
}

.publishpress-edd .edd-upgrade-card.no-upgrades {
	text-align: center;
	padding: 2rem;
	border: 1px dashed #cbd5e0;
}

.publishpress-edd .edd-site-card {
  background: #f9f9f9;
  border: 1px solid #e3e3e3;
  padding: 15px;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 20px !important;
}

.publishpress-edd .edd-site-card p {
  margin-bottom: 10px;
}

.publishpress-edd.edd-site-card.no-sites {
  font-style: italic;
  color: #666;
  margin-bottom: 20px !important;
}

.ppedd-license-card.license-manage-single{
    background: #fff !important;
    border: 1px solid #e2e2e2 !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    font-family: sans-serif !important;
}

/* License Header and Meta */
.publishpress-edd .edd-sl-manage-license-header {
    margin-top: 2rem;
    font-size: 17px;
    font-weight: 600;
}

.publishpress-edd .edd-sl-manage-license-details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 17px;
}

.publishpress-edd.edd-sl-manage-license-key{
    display: block;
    margin-bottom: 8px;
}

.publishpress-edd.edd-sl-manage-license-key code{
    background-color: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

/* Add Site Form */
.publishpress-edd .edd-site-add-form {
    margin-top: 2rem;
    padding: 1.25rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.publishpress-edd .edd-site-add-form input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem 0.75rem;
    font-size: 17px;
    margin-top: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.publishpress-edd .edd-site-add-form .button-primary {
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.75rem;
}

.publishpress-edd .edd-site-add-form .button-primary:hover {
    background-color: #1e3a8a;
}

.page-title {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.publishpress-edd .edd-subscription-card-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

.publishpress-edd .edd-subscription-card {
    background: #fff !important;
    border: 1px solid #e2e2e2 !important;
    padding: 20px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    flex: 1 1 300px !important;
}

.publishpress-edd .edd-subscription-card h3 {
    margin-top: 0 !important;
    font-size: 17px !important;
    color: #333 !important;
}

.publishpress-edd .edd-subscription-card p {
    margin: 6px 0 !important;
    font-size: 17px !important;
}

.publishpress-edd .edd-subscription-actions {
    margin-top: 12px !important;
}

.publishpress-edd .edd-subscription-card {
    background: #fff !important;
    padding: 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 24px !important;
    border: 1px solid #e0e0e0 !important;
}

.publishpress-edd .subscription-status-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
}

.publishpress-edd .subscription-amount {
    font-weight: 400 !important;
    font-size: 17px !important;
    color: #444 !important;
}

.publishpress-edd.subscription-status {
    font-weight: 400 !important;
    font-size: 17px !important;
    color: #1b5e20 !important;
    background-color: #e0f7ec !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
}

.publishpress-edd.subscription-status.inactive {
    background-color: #fdecea !important;
    color: #d32f2f !important;
}

.wp-block-edd-downloads .edd_download {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.wp-block-edd-downloads .edd_download:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wp-block-edd-downloads .edd_download_inner {
    display: grid;
    gap: 15px;
}

.wp-block-edd-downloads .edd_download_image {
    width: 100%;
}

.wp-block-edd-downloads .edd_download_title {
    font-size: 17px;
    margin: 0;
}

.wp-block-edd-downloads .edd_download_excerpt {
    color: #666;
}

.wp-block-edd-downloads .edd_download_buy_button {
    margin-top: auto;
}

/* Card Layout Styles */
.publishpress-edd .edd-subscription-card{
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.publishpress-edd .transaction-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Button Colors */
.ppedd_account-dashboard .button,
.ppedd_account-dashboard .edd-submit,
.ppedd_account-dashboard .button.small,
.ppedd_account-dashboard .publishpress-edd .edd-subscription-actions a,
.ppedd_account-dashboard .publishpress-edd .edd-upgrade-card .button,
.ppedd_account-dashboard .publishpress-edd .edd-site-card .button,
.wsf-button-primary,
.publishpress-edd .edd-purchase-actions a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 15px !important;
    background: var(--ppedd-button-color, #2271b1) !important;
    border-color: var(--ppedd-button-color, #002e5f) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-size: 17px !important;
    transition: all 0.2s ease;
    justify-content: center;
    min-width: fit-content;
}

.ppedd_account-dashboard .button:hover,
.ppedd_account-dashboard .edd-submit:hover,
.ppedd_account-dashboard .button.small:hover,
.ppedd_account-dashboard .publishpress-edd .edd-subscription-actions a:hover,
.ppedd_account-dashboard .publishpress-edd .edd-upgrade-card .button:hover,
.ppedd_account-dashboard .publishpress-edd .edd-site-card .button:hover,
.publishpress-edd .edd-purchase-actions a:hover,
.wsf-button-primary:hover,
.publishpress-edd .edd-purchase-actions a:hover {
    filter: brightness(90%) !important;
}

/* Vertical Tab Layout */
.ppedd_account-dashboard[data-tab-position="vertical"] {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.ppedd_account-dashboard[data-tab-position="vertical"] .ppedd_tab-grid {
    display: flex;
    flex-direction: column;
}

.ppedd_account-dashboard[data-tab-position="vertical"] .ppedd_tab-grid a {
    border-right: none;
    border-bottom: 1px solid #ccc;
    text-align: left;
    padding: 15px;
}

/* shortcode-subscription-update */
.publishpress-edd .subscription-card-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
}

.publishpress-edd .subscription-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.publishpress-edd .subscription-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.publishpress-edd .subscription-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.ppedd_back-link {
  /* color: #0073aa; */
  font-size: 17px;
  text-decoration: none;
}

.publishpress-edd .subscription-update-form .form-section {
  margin-bottom: 1.5rem;
}

.publishpress-edd .subscription-update-form .button {
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* .publishpress-edd .subscription-update-form .button:hover {
  background-color: #319795;
} */

.publishpress-edd .subscription-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0.5rem 0 0;
}

.ppedd_back-link {
  color: #0073aa;
  text-decoration: none;
  font-size: 17px;
}

.publishpress-edd .transactions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publishpress-edd .transaction-card {
  background: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s ease;
}

.publishpress-edd .transaction-card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.publishpress-edd .transaction-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.publishpress-edd .transaction-id {
  font-weight: 600;
  color: #0073aa;
}

.publishpress-edd .transaction-detail .label {
  font-weight: 500;
  margin-right: 0.25rem;
  color: #333;
}

.publishpress-edd .transaction-detail .value {
  color: #555;
}

.ppedd_tab-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ppedd_tab-wrapper.vertical {
    flex-direction: row;
}

.ppedd_tab-wrapper.vertical .ppedd_tab-grid {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    gap: 10px;
}

.ppedd_tab-wrapper.vertical .ppedd_tab-content {
    flex: 1;
}

.ppedd_tab-wrapper.horizontal .ppedd_tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 40px 0 30px;
    margin-top: 10px !important;
    padding-top: 0px;
}

.ppedd_tab-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 18px 10px;
    text-align: center;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.ppedd_tab-grid a .dashicons {
    font-size: 28px;
    margin-bottom: 8px;
    color: #666;
}

.ppedd_tab-grid a.active {
    background: #e9f3ff;
    color: #2c7be5;
    border-color: #2c7be5;
}

.ppedd_tab-grid a.active .dashicons {
    color: #2c7be5;
}

.ppedd_tab-grid a:hover {
    background: #e0ebfa;
    color: #2c7be5;
}

.ppedd_tab-grid a:hover .dashicons {
    color: #2c7be5;
}
.ppedd-previous-versions-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.ppedd-previous-versions-wrapper th,
.ppedd-previous-versions-wrapper td {
    padding: 8px 16px;
    text-align: left;
    vertical-align: middle;
}
.ppedd-previous-versions-wrapper th {
    background: #f8f8f8;
    font-weight: 600;
    border-bottom: 1px solid #e2e2e2;
}
.ppedd-previous-versions-wrapper td {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.edd-flex-history-wrapper {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.edd-flex-history-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
    overflow: hidden;
}

.edd-flex-history-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edd-flex-history-header,
.edd-flex-history-row {
    display: flex;
    padding: 1rem 1.5rem;
}

.edd-flex-history-header {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 17px;
    font-weight: 600;
}

.edd-col-left {
    flex: 1 1 25%;
    font-size: 17px;
    text-align: left !important;
}

.edd-col-versions {
    flex: 1 1 25%;
    text-align: left !important;
}

.edd-col-changelog {
    flex: 1 1 25%;
    text-align: left !important;
}

.edd-col-right {
    flex: 1 1 25%;
    text-align: left !important;
}

.edd-download-title {
    color: #111827;
    width: auto !important;
}

.edd-download-file-list,
.edd-previous-file-list,
.edd-previous-changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.edd-download-file-list,
ul.edd-previous-file-list,
ul.edd-previous-changelog-list {
    padding-left: 0 !important;
}

.edd-download-file-list li,
.edd-previous-file-list li,
.edd-previous-changelog-list li {
    margin-bottom: 4px;
}

.edd-download-file-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px !important;
    gap: 6px;
    background: var(--ppedd-button-color, #2271b1) !important;
    border: 1px solid var(--ppedd-button-color, #002e5f) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    font-size: 17px !important;
    transition: all 0.2s ease;
    justify-content: center;
    min-width: fit-content;
    margin-bottom: 8px;
    white-space: nowrap !important;
    width: auto !important;
}

.edd-download-file-link:hover {
    filter: brightness(90%) !important;
    text-decoration: none !important;
}

.edd-download-file-link:hover .dashicons {
    transform: translateY(2px);
}

.edd-download-svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  fill: none;
  color: #000;
}

a .edd-download-svg { color: inherit; }

.edd-no-files {
    font-style: italic;
    color: #6b7280;
    margin: 0;
}

.ppedd-view-changelog {
    white-space: nowrap;
    display: inline-block;
}

 /* Admin settings field styles */
.form-table input[name="ppedd_support_email"],
.form-table input[name="ppedd_support_url"],
.form-table select[name="dashboard_page_id"] {
    width: 400px !important;
    max-width: 100% !important;
    display: block;
    margin: 0;
}

.form-table textarea[name="ppedd_support_text"],
.form-table textarea[name="ppedd_dashboard_notice_message"],
.form-table textarea[name="ppedd_get_started_message"] {
    width: 400px !important;
    max-width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    display: block;
    margin: 0;
    resize: vertical;
}

.form-table th {
    padding-bottom: 15px;
    vertical-align: top;
    padding-top: 15px;
}

.edd-flex-col.edd-col-left .edd-download-image img{
    width: 100px !important;
}

@media screen and (max-width: 782px) {
    .form-table input[name="ppedd_support_email"],
    .form-table input[name="ppedd_support_url"],
    .form-table select[name="dashboard_page_id"],
    .form-table textarea[name="ppedd_support_text"],
    .form-table textarea[name="ppedd_dashboard_notice_message"],
    .form-table textarea[name="ppedd_get_started_message"] {
        width: 100% !important;
        font-size: 17px;
    }

    .edd-flex-history-card {
        display: flex;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
        transition: 0.3s ease;
        overflow: hidden;
    }

    .edd-flex-history-header,
    .edd-flex-history-row {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    .edd-col-right {
        flex: 1 1 25%;
        text-align: left !important;
        padding-top: 20px !important;
    }

    .edd-flex-col.edd-col-left .edd-download-image img{
        width: 50px !important;
    }

}

.edd-flex-col.edd-col-left .edd-download-image {
    margin-top: 10px;
}

.edd-versions-grid {
    display: flex;
    gap: 5px;
}

.version-separator {
    width: 1px;
    background-color: #ddd;
    align-self: stretch;
    margin: 0 5px;
}

.edd-current-version {
    color: #666;
}

.edd-recurring-license-renewal{
    margin-top: 10px !important;
}

.edd-helpful-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edd-helpful-links-list a{
    text-decoration: none;
}

/* Hide PublishPress Hub in Downloads tab only */
#downloads .ppedd-hub-download {
    display: none !important;
}

/* In Get Started tab, hide all downloads except PublishPress Hub */
.ppedd-get-started-downloads .edd-flex-history-card:not(.ppedd-hub-download) {
    display: none !important;
}

/* Get Started Tab - Welcome Section (borrowed from PublishPress Hub) */
.ppedd-get-started-welcome {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 24px;
}

/* Hide intro section (including penguins) when user has no purchases */
.ppedd-get-started-welcome.ppedd-no-purchases .ppedd-get-started-intro {
    display: none;
}

.ppedd-get-started-intro {
    display: flex;
    flex-direction: column;
    gap: 16px !important;
    align-items: center;
    margin-bottom: 20px;
}

.ppedd-get-started-intro-image {
    width: auto;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppedd-get-started-intro-image img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ppedd-get-started-intro-text {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ppedd-get-started-intro-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #1d2327;
}

.ppedd-get-started-message {
    font-size: 15px;
    line-height: 1.6;
    color: #50575e;
    margin: 0;
}

/* Responsive adjustments for Get Started tab */
@media (min-width: 768px) {
    .ppedd-get-started-intro {
        flex-direction: row;
        text-align: left;
    }
    
    .ppedd-get-started-intro-image {
        max-width: 320px;
        flex-shrink: 0;
    }
    
    .ppedd-get-started-intro-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .ppedd-get-started-welcome {
        padding: 24px;
        margin-bottom: 16px;
    }
    
    .ppedd-get-started-intro {
        gap: 24px;
    }
    
    .ppedd-get-started-intro-image {
        max-width: 280px;
    }
    
    .ppedd-get-started-intro-title {
        font-size: 20px;
    }
}

.single-content ul {
    padding-left: 1px !important;
}

.ppedd-view-docs {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ppedd-notice .description{
    margin: 10px 0;
}

.ppedd_view-details{
    margin-bottom: 15px;
}

.edd-failing-notice {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #ef4444;
}

.edd-failing-notice h3 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.edd-failing-notice p {
    color: #991b1b;
    font-style: italic;
    margin: 10px 0;
    line-height: 1.5;
}

.edd-failing-notice .button-primary {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    margin-top: 10px;
}

.edd-failing-notice .button-primary:hover {
    background-color: #b91c1c !important;
    border-color: #b91c1c !important;
}

.publishpress-edd .edd-subscription-card .subscription-status.status-failing {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

/* Download placeholder styles */
.edd-download-placeholder {
    width: 100px;
    height: 100px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.edd-placeholder-icon {
    width: 24px;
    height: 24px;
    color: #6c757d;
    opacity: 0.6;
}

.edd-download-file-link.downloading {
    background: #848789 !important;
    border-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
    transition: none !important;
}

.edd-submit.button.small.checkout {
    color: #1b004f !important;
    background: #ffcf56 !important;
}

/* Support Tab Title */
.ppedd-support-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 12px;
    line-height: 1.3;
}

.ppedd-support-subtitle {
    font-size: 16px;
    color: #50575e;
    margin: 0 0 30px;
    line-height: 1.5;
}

/* AI Chat Widget Styles */
.ppedd-ai-chat-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.ppedd-ai-chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.ppedd-ai-chat-header .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.ppedd-ai-chat-header h3 {
    margin: 8px 0 12px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.ppedd-ai-chat-intro {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.95;
}

.ppedd-ai-chat-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
}

.ppedd-ai-chat-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.95;
}

.ppedd-ai-chat-benefits li:last-child {
    margin-bottom: 0;
}

.ppedd-ai-chat-benefits .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ppedd-ai-chat-cta {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    font-style: italic;
}

.ppedd-ai-chat-messages {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    background: #f9f9f9;
}

.ppedd-ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ppedd-ai-message-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: #fff;
}

.ppedd-ai-message-user .ppedd-ai-message-avatar {
    background: #2c7be5;
    order: 2;
}

.ppedd-ai-message-avatar .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ppedd-ai-message-content {
    flex: 1;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ppedd-ai-message-user .ppedd-ai-message-content {
    background: #e3f2fd;
    order: 1;
}

.ppedd-ai-message-content p {
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

.ppedd-ai-message-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ppedd-ai-message:hover .ppedd-ai-message-actions {
    opacity: 1;
}

.ppedd-ai-edit-btn,
.ppedd-ai-reload-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    color: #666;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.ppedd-ai-edit-btn:hover,
.ppedd-ai-reload-btn:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #333;
}

.ppedd-ai-edit-btn .dashicons,
.ppedd-ai-reload-btn .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.ppedd-ai-message-content p:not(:last-child) {
    margin-bottom: 8px;
}

.ppedd-ai-message-loading {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.ppedd-ai-message-loading span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #667eea;
    animation: bounce 1.4s infinite ease-in-out both;
}

.ppedd-ai-message-loading span:nth-child(1) {
    animation-delay: -0.32s;
}

.ppedd-ai-message-loading span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.ppedd-ai-chat-input-wrapper {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.ppedd-ai-chat-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.2s;
}

.ppedd-ai-chat-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ppedd-ai-chat-send {
    padding: 12px 24px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.ppedd-ai-chat-send:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ppedd-ai-chat-send:active {
    transform: translateY(0);
}

.ppedd-ai-chat-send:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.ppedd-ai-chat-send .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.ppedd-ai-chat-footer {
    padding: 12px 20px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.ppedd-ai-chat-footer small {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.ppedd-ai-error {
    background: #fee;
    border-left: 3px solid #f44;
    padding: 12px;
    margin: 12px 0;
    border-radius: 4px;
}

.ppedd-ai-error p {
    margin: 0;
    color: #c33;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ppedd-ai-chat-messages {
        max-height: 300px;
    }
    
    .ppedd-ai-chat-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ppedd-ai-chat-send {
        justify-content: center;
    }
}

.ppedd-dashboard-notice {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* .ppedd-dashboard-notice h3 {
    color: #047857;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
} */

.ppedd-dashboard-notice p {
    color: #065f46;
    margin: 10px 0;
    line-height: 1.5;
}

.ppedd-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  vertical-align: middle;
  margin-right: 10px;
}

.ppedd-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ppedd-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .2s;
  border-radius: 999px;
}

.ppedd-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.ppedd-switch input:checked + .ppedd-slider {
  background-color: #10b981;
}

.ppedd-switch input:checked + .ppedd-slider:before {
  transform: translateX(22px);
}

.ppedd-switch-label {
  vertical-align: middle;
}