@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

:root {
    --primary: #4F46E5;
    --secondary: #f9f9f9;
    --accent: #FFD100;
    --text: #333;
    --light-text: #777;
    --border: #e0e0e0;
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
}
.welcome-section{
    background-image: url('../../images/dashboard-preview.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 220px;
    background-size: contain;
    background-position: right;
}
.custif-admin-wrap {
    margin: 20px 20px 0 0;
    font-family: 'Figtree', sans-serif; /* Apply font only to the wrapper */
}

/* Header */
.plugin-header {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.plugin-logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
}

.plugin-logo svg {
    margin-right: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.user-name {
    font-weight: 500;
    color: white;
    font-size: 22px;
    text-transform: capitalize;
}

.header-actions button {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Welcome Section */
.welcome-section {
    background-color: var(--primary);
    color: white;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
}

.welcome-heading h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
    color: white;
    text-align: left;
}

.welcome-heading p {
    font-size: 16px;
    max-width: 500px;
    margin-bottom: 25px;
    opacity: 0.9;
    color: white;
    text-align: left;
}

.welcome-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: flex-start;
}

.welcome-button {
    background-color: var(--accent);
    color: var(--text);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.welcome-button:hover {
    opacity: 0.9;
}

.welcome-image {
    flex: 0 0 auto;
    margin-left: 30px;
}

.welcome-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* How it works */
.how-it-works {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
}

.watch-video {
    display: flex;
    align-items: center;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}

.watch-video svg {
    margin-right: 8px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.step-number {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
}

.step-title {
    color: #100D3F;
    font-weight: 500;
    margin-bottom: 10px;
}

.step-desc {
    margin-bottom: 20px;
    font-size: 14px;
}

.step-image {
    background-color: #f4f4a1;
    height: 160px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.step-image img {
    max-width: 100%;
    height: auto;
}

.step-line {
    position: absolute;
    top: 12px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

/* Settings section */
.settings-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.settings-container,
.token-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.token-container {
    text-align: center;
}

.settings-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item-left {
    display: flex;
    align-items: center;
}

.setting-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
}

.status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.status-success {
    background-color: #e6f7e6;
    color: var(--success);
}

.status-warning {
    background-color: #fff3e0;
    color: var(--warning);
}

.setting-name {
    font-weight: 500;
}

.install-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.token-check {
    width: 40px;
    height: 40px;
    background-color: #e6f7e6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    color: var(--success);
    font-size: 24px;
}

.token-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.token-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.license-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.license-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 55, 219, 0.1);
}

.token-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.token-button:hover {
    background-color: #5a2db8;
}

.token-button.upgrade-button {
    background-color: var(--primary);
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.token-button.upgrade-button:hover {
    background-color: #3832aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.token-status {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e4e7;
}

.status-text {
    color: #1d2327;
    font-size: 14px;
    line-height: 1.5;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.pro-features-column {
    min-width: 0;
}

.pro-features-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pro-features-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #1d2327;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-features-list li:last-child {
    margin-bottom: 0;
}

.pro-features-list .coming-soon {
    font-size: 12px;
    color: #100D3F;
    margin-left: 5px;
    font-style: italic;
    white-space: nowrap;
    font-weight: 500;
}

/* License status styles */
.license-active .token-check {
    background-color: #e6f7e6;
    color: var(--success);
}

.license-inactive .token-check {
    background-color: #fff3e0;
    color: var(--warning);
}

.license-error .token-check {
    background-color: #ffebee;
    color: var(--error);
}

.license-active .status-text {
    color: var(--success);
}

.license-inactive .status-text {
    color: var(--warning);
}

.license-error .status-text {
    color: var(--error);
}

/* Resources Section */
.resources-section {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;
}

.resource-action a {
    text-decoration: none;
    color: var(--primary);
}

.resource-card {
    width: 32%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.resource-title {
    padding: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.resource-action {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    color: var(--primary);
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.feature-card {
    background-color: #212121;
    color: white;
    border-radius: 8px;
    overflow: hidden;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-desc {
    margin-bottom: 25px;
    opacity: 0.8;
    max-width: 90%;
}

.feature-button {
    display: inline-block;
    background-color: white;
    color: var(--text);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.feature-gallery {
    display: flex;
    margin-top: 30px;
    overflow: hidden;
}

.gallery-item {
    width: 180px;
    height: 120px;
    background-color: #333;
    border-radius: 8px;
    margin-right: 15px;
    transform: rotate(-5deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item:nth-child(2) {
    transform: rotate(0deg);
    z-index: 2;
    margin-top: -10px;
}

.gallery-item:nth-child(3) {
    transform: rotate(5deg);
    margin-top: -5px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.get-started-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}
.get-started-section .section-title {
    margin-top: 0;
    margin-bottom: 20px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .settings-section {
        flex-direction: column;
    }

    .resources-section,
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .welcome-section {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .welcome-image {
        margin-left: 0;
        margin-top: 30px;
    }

    .welcome-buttons {
        justify-content: flex-start;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-line {
        display: none;
    }

    .resources-section,
    .features-section {
        grid-template-columns: 1fr;
    }

    .pro-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .plugin-header {
        flex-direction: column;
        gap: 15px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }
} 