/*
 Theme Name: Autocontent
 Theme URI: https://autocontent3.com
 Description: Autocontent child theme
 Author: Remwes, LLC
 Author URI: https://autocontent3.com
 Template: betheme
 Version: 1.0.0
*/

/* General Body Styling */
html {
    scroll-behavior: smooth;
}

.main {
    background-color: #10B7F9;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    background-color: #fff;
}

.dashboard-header-left {
    flex-grow: 1;
    margin-left: 260px;
}

.dashboard-header-left h1 {
    margin-bottom: 0;
    font-size: 28px;
}

.dashboard-header-right {
    display: flex;
    margin-right: 30px;
    align-items: center;
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 44px;
    border-radius: 100%;
}

.user-name {
    margin-left: 15px;
}

.user-name p,
.user-name h4 {
    margin-bottom: 0;
}

.dashboard-wrapper {
    margin-left: 243px;
    padding: 10px 20px;
    width: calc(100% - 243px);
    box-sizing: border-box;
}

.dashboard-sidebar {
    background-color: #ffffff;
    width: 243px;
    position: fixed;
    padding: 20px;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
}

.wpadminbar-hidden .dashboard-sidebar {
    margin-top: 0;
}

.dashboard-logo img {
    width: 200px;
}

.dashboard-tabs {
    padding-top: 20px;
}

.button.dashboard-btn {
    margin-bottom: 5px;
    padding: 17px 10px;
    width: 100%;
    justify-content: start;
    color: #1E232C;
    background-color: #ffffff;
    border-radius: 8px;
    border: 0;
}

.button.dashboard-btn i {
    margin-right: 15px;
    color: #1E232C;
}

.button.dashboard-btn:hover,
.button.dashboard-btn.active {
    background-color: #0076B2;
    color: #ffffff;
}

.button.dashboard-btn:hover i,
.button.dashboard-btn.active i {
    color: #fff;
}

.dashboard-btn.btn-logout {
    margin-bottom: 20px;
    padding: 20px 40px;
    color: #0076B2;
    background-color: #ffffff;
    border-radius: 8px;
    border: 2px solid #0076B2;
    font-size: 18px;
    font-weight: 500;
    justify-content: center;
    width: auto;
}

@media (max-width: 768px) {
    .dashboard-header {
        z-index: 1;
        position: relative;
    }

    .dashboard-header-left {
        margin-left: 0px;
    }

    .dashboard-header-left h1 {
        font-size: 20px;
    }

    .dashboard-header-right {
        margin-right: 20px;
    }

    .user-avatar img {
        /*width: 30px;*/
    }

    .user-name {
        margin-left: 10px;
    }

    .dashboard-wrapper {
        margin-left: 0;
        padding: 10px 0;
        width: 100%;
        margin-top: 425px;
    }

    .dashboard-sidebar {
        width: 100%;
        position: absolute;
        bottom: unset;
        left: 0;
        right: 0;
        margin-top: 45px;
    }

    .dashboard-logo img {
        width: 200px;
    }

    .dashboard-tabs {
        padding-top: 20px;
    }

    .button.dashboard-btn {
        padding: 10px;
        border-radius: 6px;
    }

    .button.dashboard-btn i {
        margin-right: 10px;
    }

    .dashboard-btn.btn-logout {
        margin-bottom: 0px;
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 578px) {
    .dashboard-header-left {
        margin-left: 0px;
    }

    .dashboard-header-left h1 {
        display: none;
    }

    .dashboard-wrapper {
        margin-left: 0;
        padding: 10px 0;
        width: 100%;
        margin-top: 450px;
    }

    .dashboard-sidebar {
        width: 100%;
        position: absolute;
        bottom: unset;
        left: 0;
        right: 0;
        margin-top: 45px;
    }

    .dashboard-logo img {
        width: 180px;
    }
}

/* Grid Item Styling */
#dashboard .grid {
    flex-grow: 1;
    display: flex;
}

@media (max-width: 992px) {
    #dashboard .grid {
        display: block;
    }
}
.grid-container {
    padding: 20px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
}

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: white;
    padding: 20px;
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grid-item::-webkit-scrollbar {
    width: 8px;
}

.grid-item::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.grid-item::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.grid-item::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.grid-item {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.grid-item::-webkit-scrollbar-corner {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .table-1 {
        width: 100%;
    }
}

/* API Key Styles */
.api-key {
    display: none;
}

.btn-eye, .btn-copy {
    background: none;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 5px;
    color: #0073aa;
    padding: 0;
}

.btn-eye:hover,
.btn-copy:hover {
    background: transparent;
    color: #0073aa;
}

.api-key-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.api-key-actions {
    margin-right: 10px;
}

.api-key-star {
    display: inline;
}

.api-key-cell.show-api .api-key {
    display: inline;
}

.api-key-cell.show-api .api-key-star {
    display: none;
}

.plan-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.plan-cell button,
.ac-plan-footer .button {
    padding: 10px 20px;
    background: #fff;
    border-color: #10B7F9;
    color: #10B7F9;
}

.plan-cell button:hover,
.plan-cell button:active,
.ac-plan-footer .button:hover,
.ac-plan-footer .button:active {
    background: #10B7F9;
    border-color: #10B7F9;
    color: #fff;
}

.plan-select {
    margin-right: 5px;
    margin-bottom: 0;
    max-width: 150px;
}

/* Registration page styles */
.ac-registration-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ac-registration-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.ac-registration-form {
    margin-bottom: 20px;
}

.ac-registration-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.ac-registration-form input[type="text"],
.ac-registration-form input[type="email"],
.ac-registration-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ac-registration-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.ac-registration-form input[type="submit"]:hover {
    background-color: #005f8d;
}

/* Password reset page styles */
.ac-password-form {
    max-width: 400px;
    margin: 0 auto;
}

.ac-password-label {
    display: block;
    margin-bottom: 10px;
}

.ac-password-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.ac-password-submit {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

/* Order card style */
.ac-order-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ac-order-card {
    flex: 1 1 calc(50% - 20px);
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ac-order-card-header {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    background-color: #f7f7f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-order-card-body {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.ac-order-card-footer {
    /* border-top: 1px solid #ddd; */
    padding: 10px;
    /* background-color: #f7f7f7; */
}

.ac-order-details-link {
    color: #0073aa;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ac-order-card {
        flex: 1 1 100%;
    }
}

/* Plan card style */
.ac-plans-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ac-plan-card {
    flex: 1 1 calc(33.33% - 20px); /* 3 cards in a row with equal spacing */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.ac-plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.ac-plan-price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.ac-plan-body {
    margin-bottom: 20px;
    text-align: center;
}

.ac-plan-description {
    list-style-type: none;
}

.ac-plan-footer {
    text-align: center;
}

@media (max-width: 1024px) {
    .ac-plan-card {
        flex: 1 1 calc(50% - 20px); /* 2 cards in a row on tablet screens */
    }
}

@media (max-width: 768px) {
    .ac-plan-card {
        flex: 1 1 100%; /* 1 card in a row on mobile screens */
    }
}

/* account section style */
.ac-account-section {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.ac-account-section h4 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
}

.ac-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.ac-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.ac-change-profile-btn {
    background-color: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.ac-change-profile-btn:hover {
    background-color: #005780;
}

.ac-user-info {
    margin-bottom: 20px;
    text-align: left;
}

.ac-user-info p {
    margin: 10px 0;
}

.ac-change-password-link {
    color: #0073aa;
    text-decoration: none;
}

.ac-change-password-link:hover {
    text-decoration: underline;
}

/* Register success message */
.ac-confirmation-message {
    background-color: #28a745; /* Green background */
    color: #fff; /* White text */
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
    position: relative;
    animation: fadeOut 3s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

/* Upgrade plan */
.blurred-row > *:not(.action) {
    filter: blur(1.5px);
}

/* Messages */
.autocontent-notice {
    position: fixed;
    top: 22px;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.wpadminbar-hidden .autocontent-notice {
    top: 0;
}

.autocontent-notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.autocontent-notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

img.scale-with-grid, .content_wrapper img {
    max-width: 80% !important;
    height: auto;
}

span.label, i.icon-user, span.fn {
    display: none;
}

#Subheader .title {
    font-size: 3em !important;
    line-height: 70px;
    font-weight: 600;
    letter-spacing: 0px;
}

h2 {
    font-size: 2em !important;
    line-height: 60px;
    font-weight: 700;
    letter-spacing: 0px;
}

input#edd_user_login.edd-required.edd-input {
    width: 350px !important;
}

input#edd_user_pass.edd-required.edd-input {
    width: 350px !important;
}


.edd_checkout_cart_item_title {
    color: #006E9C !important;
/*    font-weight: bold !important;*/
/*    font-size: 1.5em !important;*/
}

.edd_cart_item_name {
    font-weight: bold !important;
    font-size: 1.5em !important;
}

.eddr-cart-item-notice {
    font-weight: normal !important;
    /*font-size: 1.5em !important;*/
}

.edd_cart_item_price, .edd_cart_amount {
    font-weight: bold !important;
    font-size: 1.5em !important;
}



.footer-nav-wrapper {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00;
}
#Footer .widgets_wrapper {
    padding: 30px !important;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html, body, input, select, textarea, button{
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
