/* AICVs Resume Scanner Styles */

:root{
    --skin-color: #34bab1;
    --skin-color-hover: #2b9b93;
    --skin-secondary-color: #e3f7f5;
}


.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.hidden{
    display: none;
}

.aicvs-container {
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #000;
    position: relative;
    overflow: hidden;
}
.aicvs-container > * {
    position: relative;
    z-index: 2;
}

.aicvs-header {
    text-align: center;
    margin-bottom: 40px;
}

.aicvs-brand {
    font-size: 14px;
    font-weight: 600;
    color: var(--skin-color);
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: var(--skin-secondary-color);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
}

.aicvs-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 0 0;
    line-height: 1.2;
}

.aicvs-description {
    font-size: 18px;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.aicvs-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.aicvs-job-description {
    margin-bottom: 30px;
}

.aicvs-job-description label {
    display: block;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 8px;
    font-size: 16px;
}

.aicvs-job-description textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.aicvs-job-description textarea:focus {
    outline: none;
    border-color: var(--skin-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.aicvs-upload-area {
    border: 3px dashed #CBD5E0;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    background: #F7FAFC;
    transition: all 0.3s ease;
    cursor: pointer;
}

.aicvs-upload-area:hover,
.aicvs-upload-area.dragover {
    border-color: var(--skin-color);
    background: var(--skin-secondary-hover);
    transform: translateY(-2px);
}

.aicvs-upload-content h3 {
    font-size: 20px;
    color: #2D3748;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.aicvs-upload-content p {
    color: #718096;
    margin: 0 0 30px 0;
    font-size: 14px;
}

.aicvs-upload-icon {
    color: #A0AEC0;
    margin-bottom: 20px;
}

.aicvs-upload-btn {
    background: var(--skin-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.aicvs-upload-btn:hover {
    background: var(--skin-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.aicvs-privacy {
    margin-top: 20px;
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.aicvs-doc-uploaded .aicvs-upload-icon{
    margin: 0;
}
.aicvs-doc-uploaded,
.aicvs-data-notice {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.aicvs-doc-uploaded,
.aicvs-data-notice.enabled {
    background: #E6FFFA;
    border: 1px solid var(--skin-color);
    color: #2D3748;
}

.aicvs-data-notice.disabled {
    background: #FFF5F5;
    border: 1px solid #F56565;
    color: #2D3748;
}

.aicvs-data-text {
    margin: 0;
    font-weight: 500;
}
.aicvs-upload-content p.aicvs-data-text {
    margin: 0;
}

/* Upload State Management */
.aicvs-upload-state-initial,
.aicvs-upload-state-uploaded {
    transition: opacity 0.3s ease;
}

.aicvs-upload-state-uploaded {
    display: none;
}

.aicvs-upload-state-uploaded .aicvs-upload-title {
    color: var(--skin-color);
}

.aicvs-file-name {
    color: #2D3748;
    font-weight: 600;
}

.aicvs-file-size {
    color: #718096;
    font-weight: normal;
}

/* Steps Progress Container */
.aicvs-steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.aicvs-steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
}

.aicvs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.aicvs-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #A0AEC0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 3px solid #E2E8F0;
}

.aicvs-step.active .aicvs-step-number {
    background: var(--skin-color);
    color: white;
    border-color: var(--skin-color);
}

.aicvs-step.completed .aicvs-step-number {
    background: var(--skin-color);
    color: white;
    border-color: var(--skin-color);
}

.aicvs-step-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    transition: color 0.3s ease;
}

.aicvs-step-content p {
    margin: 0;
    font-size: 14px;
    color: #718096;
    line-height: 1.4;
}

.aicvs-step.active .aicvs-step-content h4 {
    color: var(--skin-color);
}

.aicvs-step-status {
    display: none;
}

.aicvs-loading {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.aicvs-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E2E8F0;
    border-top: 4px solid var(--skin-color);
    border-radius: 50%;
    animation: aicvs-spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.aicvs-loading p {
    color: #4A5568;
    font-weight: 600;
    margin: 0;
}

.aicvs-results {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.aicvs-results-content {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #2D3748;
    font-size: 16px;
}

.aicvs-results-content h1,
.aicvs-results-content h2,
.aicvs-results-content h3 {
    color: #1A202C;
    margin-top: 30px;
    margin-bottom: 15px;
}

.aicvs-results-content ul,
.aicvs-results-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.aicvs-results-content li {
    margin-bottom: 8px;
}

.aicvs-new-analysis,
.aicvs-try-again {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aicvs-new-analysis:hover,
.aicvs-try-again:hover {
    background: var(--skin-color-hover);
    transform: translateY(-1px);
}

.aicvs-error {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.aicvs-error-content {
    color: #E53E3E;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Experience Level Selection Styles */
.aicvs-experience-level {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.aicvs-level-header {
    text-align: center;
    margin-bottom: 40px;
}

.aicvs-level-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.aicvs-level-header p {
    font-size: 18px;
    color: #718096;
    margin: 0;
    line-height: 1.6;
}

.aicvs-level-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aicvs-level-option {
    display: flex;
    align-items: center;
    padding: 24px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    background: #FAFAFA;
    transition: all 0.3s ease;
    cursor: pointer;
}

.aicvs-level-option:hover {
    border-color: var(--skin-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.15);
}

.aicvs-level-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--skin-secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--skin-color);
    margin-right: 20px;
}

.aicvs-level-content {
    flex: 1;
}

.aicvs-level-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2D3748;
    margin: 0 0 8px 0;
}

.aicvs-level-content p {
    font-size: 16px;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

.aicvs-choose-btn {
    background: var(--skin-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.aicvs-choose-btn:hover {
    background: var(--skin-color-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

/* Enhanced Results Styles */
.aicvs-results {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.aicvs-results-header {
    background: linear-gradient(135deg, var(--skin-color) 0%, var(--skin-color-hover) 100%);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    position: relative;
}

.aicvs-results-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #fff;
}

.aicvs-overall-score {
    display: flex;
    justify-content: center;
}

.aicvs-score-circle {
    width: 120px;
    height: 120px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.aicvs-score-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.aicvs-score-label {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aicvs-results-content {
    padding: 40px;
}

.aicvs-analysis-sections {
    display: grid;
    gap: 30px;
}

.aicvs-analysis-section {
    background: #F8F9FA;
    padding: 25px;
    border-left: 4px solid var(--skin-color);
}
.aicvs-analysis-section ul, .aicvs-analysis-section ol {
    margin: 0;
}
.aicvs-analysis-section h3 {
    color: #2D3748;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aicvs-analysis-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--skin-color);
    border-radius: 50%;
}

.aicvs-analysis-section ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.aicvs-analysis-section li {
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    padding-left: 20px;
}

.aicvs-analysis-section li:last-child {
    border-bottom: none;
}

.aicvs-analysis-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--skin-color);
    font-weight: bold;
}

.aicvs-weakness li::before {
    content: '⚠';
    color: #F56565;
}

.aicvs-suggestion li::before {
    content: '💡';
}

.aicvs-results-footer {
    padding: 30px 40px;
    background: #F8F9FA;
    text-align: center;
    border-top: 1px solid #E2E8F0;
}

.aicvs-new-analysis {
    background: var(--skin-color);
    color: white !important;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.aicvs-new-analysis:hover {
    background: var(--skin-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .aicvs-container {
        margin: 20px;
        padding: 30px 15px;
    }
    
    .aicvs-title {
        font-size: 32px;
        padding: 15px;
    }
    
    .aicvs-description {
        font-size: 16px;
        padding: 15px;
    }
    
    .aicvs-form-container,
    .aicvs-results,
    .aicvs-experience-level {
        padding: 25px;
    }
    
    .aicvs-upload-area {
        padding: 40px 15px;
    }
    
    .aicvs-upload-content h3 {
        font-size: 18px;
    }
    
    .aicvs-upload-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .aicvs-level-header h2 {
        font-size: 24px;
    }
    
    .aicvs-level-header p {
        font-size: 16px;
    }
    
    .aicvs-level-option {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .aicvs-level-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .aicvs-score-circle {
        width: 100px;
        height: 100px;
    }
    
    .aicvs-score-number {
        font-size: 28px;
    }
    
    .aicvs-results-header {
        padding: 25px;
    }
    
    .aicvs-results-content {
        padding: 25px;
    }
    
    .aicvs-steps-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .aicvs-steps-container::before {
        display: none;
    }
    
    .aicvs-step {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .aicvs-step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .aicvs-step-content {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .aicvs-title {
        font-size: 24px;
    }
    
    .aicvs-description {
        font-size: 14px;
    }
    
    .aicvs-upload-area {
        padding: 30px 10px;
    }
    
    .aicvs-upload-content h3 {
        font-size: 16px;
    }
}

/* Login Modal Styles */
.aicvs-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aicvs-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}


@keyframes aicvs-modal-enter {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.aicvs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid #E2E8F0;
    background: #1a1a1a;
}

.aicvs-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.aicvs-modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aicvs-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.aicvs-modal-body {
    padding: 35px 40px 40px;
}

.aicvs-modal-description {
    margin: 0 0 30px;
    color: #718096;
    text-align: center;
    line-height: 1.6;
    font-size: 15px;
}

/* Auth Tabs */
.aicvs-auth-tabs {
    display: flex;
    margin-bottom: 30px;
    background: #F7FAFC;
    border-radius: 10px;
    padding: 4px;
    position: relative;
}

.aicvs-auth-tab {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #718096;
    position: relative;
    z-index: 2;
}

.aicvs-auth-tab.active {
    background: white;
    color: var(--skin-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.aicvs-form-group {
    margin-bottom: 18px;
}

.aicvs-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2D3748;
    font-size: 13px;
}

.aicvs-form-group .required {
    color: #E53E3E;
}

.aicvs-form-group input[type="text"],
.aicvs-form-group input[type="email"],
.aicvs-form-group input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.aicvs-form-group input:focus {
    outline: none;
    border-color: var(--skin-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.aicvs-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aicvs-form-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.aicvs-form-checkbox input {
    margin-right: 8px;
    width: auto !important;
}

.aicvs-submit-btn {
    width: 100%;
    padding: 11px 20px;
    background: var(--skin-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-bottom: 15px;
}

.aicvs-submit-btn:hover {
    background: var(--skin-color-hover);
    transform: translateY(-1px);
}

.aicvs-form-links {
    text-align: center;
}

.aicvs-form-links a {
    color: var(--skin-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.aicvs-form-links a:hover {
    text-decoration: underline;
}

/* Body class when modal is open */
body.aicvs-modal-open {
    overflow: hidden;
}

/* Responsive modal */
@media (max-width: 768px) {
    .aicvs-modal-content {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }
    
    .aicvs-modal-header {
        padding: 20px;
    }
    
    .aicvs-modal-body {
        padding: 25px 20px 25px;
    }
    
    .aicvs-modal-header h2 {
        font-size: 18px;
    }
    
    .aicvs-form-group input[type="text"],
    .aicvs-form-group input[type="email"],
    .aicvs-form-group input[type="password"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .aicvs-auth-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Pricing Modal Styles */
.aicvs-pricing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aicvs-modal-content.aicvs-pricing-modal-content {
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
}

.aicvs-no-credits-message {
    text-align: center;
    padding: 20px 0 30px;
}

.aicvs-credits-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF4444;
}

.aicvs-no-credits-message h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #2D3748;
    font-weight: 600;
}

.aicvs-no-credits-message p {
    margin: 0;
    color: #718096;
    line-height: 1.6;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.aicvs-pricing-plans-container {
    margin-top: 30px;
}

/* Override some pricing plan styles within modal */
.aicvs-pricing-modal .aicvs-pricing-plans-container .ppfa-column {
    margin-bottom: 20px;
}

.aicvs-pricing-modal .ppfa-pricing-plan {
    margin-bottom: 0;
}

/* Responsive pricing modal */
@media (max-width: 1024px) {
    .aicvs-pricing-modal-content {
        width: 95%;
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .aicvs-pricing-modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .aicvs-no-credits-message h3 {
        font-size: 20px;
    }
    
    .aicvs-no-credits-message p {
        font-size: 14px;
    }
    
    .aicvs-credits-icon {
        width: 50px;
        height: 50px;
    }
    
    .aicvs-credits-icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .aicvs-pricing-modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .aicvs-no-credits-message {
        padding: 15px 0 20px;
    }
    
    .aicvs-pricing-plans-container {
        margin-top: 20px;
    }
}




/* User Credits Bar */
.aicvs-user-credits-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}

.aicvs-dashboard-section,
.woocommerce-MyAccount-pricing-plan,
.woocommerce .woocommerce-customer-details, .woocommerce .woocommerce-order-details, .woocommerce .woocommerce-order-downloads, .woocommerce .woocommerce-MyAccount-content .woocommerce-order-details,
.aicvs-user-credits-bar{
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.aicvs-credits-info {
    display: flex;
    align-items: center;
}

.aicvs-credits-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 196, 125, 0.16);
    color: #16a34a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.aicvs-credits-badge svg {
    width: 16px;
    height: 16px;
}

.aicvs-account-link {
    display: flex;
    align-items: center;
}

.aicvs-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34bab1;
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 186, 177, 0.25);
}

.aicvs-account-btn:hover {
    background: #2b9b93;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 186, 177, 0.35);
    text-decoration: none;
    color: white;
}

.aicvs-account-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design for Credits Bar */
@media (max-width: 768px) {
    .aicvs-user-credits-bar {
        padding: 12px 15px;
        margin-bottom: 20px;
    }
    
    .aicvs-credits-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .aicvs-account-btn {
        width: 36px;
        height: 36px;
    }
    
    .aicvs-account-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .aicvs-credits-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* All-time Submissions Counter */
.aicvs-ppfa-alltime-checked {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 17px;
    background: #fbf5f5;
    color: #dc2626;
    text-transform: uppercase;
    border: 1px solid #fab3b3;
    border-radius: 32px;
    font-size: 11px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.aicvs-alltime-icon {
    width: 16px;
    height: 16px;
    color: #dc2626;
    stroke-width: 2;
    flex-shrink: 0;
    fill: none;
}


/* Responsive Design for All-time Counter */
@media (max-width: 768px) {
    .aicvs-ppfa-alltime-checked {
        gap: 6px;
        padding: 8px 14px;
    }
    
    .aicvs-alltime-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .aicvs-ppfa-alltime-checked {
        padding: 6px 12px;
    }
}

/* CV History Box Styles */
.aicvs-cv-history-box {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.aicvs-cv-history-box:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.aicvs-cv-history-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.aicvs-cv-history-icon {
    margin-right: 10px;
    color: #0073aa;
    flex-shrink: 0;
}

.aicvs-cv-history-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.aicvs-cv-history-description {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
    font-size: 14px;
}

.aicvs-cv-history-button {
    background: #0073aa;
    color: #fff !important;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.aicvs-cv-history-button:hover {
    background: #005a87;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

/* CV History Box Responsive Design */
@media (max-width: 768px) {
    .aicvs-cv-history-box {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .aicvs-cv-history-header {
        margin-bottom: 12px;
    }
    
    .aicvs-cv-history-title {
        font-size: 16px;
    }
    
    .aicvs-cv-history-description {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .aicvs-cv-history-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.aicvs-dashboard-section{
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

/* Personal Information Section */
.aicvs-personal-info-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.aicvs-personal-info-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.aicvs-personal-info-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}
.aicvs-sign-out-link,
.aicvs-personal-info-edit-link {
    font-size: 14px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 7px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.aicvs-sign-out-link:hover,
.aicvs-personal-info-edit-link:hover {
    color: #495057;
    text-decoration: none;
    border-color: #adb5bd;
    background: #f8f9fa;
    transform: translateY(-1px);
}

.aicvs-personal-info-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.aicvs-personal-info-content {
    display: grid;
    gap: 20px;
}

.aicvs-personal-info-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: baseline;
    padding: 0;
}

.aicvs-personal-info-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
}

.aicvs-personal-info-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 400;
    word-break: break-word;
    margin: 0;
}

/* Personal Information Responsive Design */
@media (max-width: 768px) {
    .aicvs-personal-info-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .aicvs-personal-info-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .aicvs-personal-info-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .aicvs-personal-info-title {
        font-size: 16px;
    }
    
    .aicvs-personal-info-edit-link {
        font-size: 13px;
    }
    
    .aicvs-personal-info-subtitle {
        font-size: 13px;
    }
    
    .aicvs-personal-info-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .aicvs-personal-info-content {
        gap: 15px;
    }
}

/* Usage Section */

.aicvs-usage-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.aicvs-usage-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.aicvs-usage-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.aicvs-usage-content {
    display: grid;
    gap: 20px;
}

.aicvs-usage-stat {
    display: flex;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: baseline;
}

.aicvs-usage-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.aicvs-usage-stat-label {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.aicvs-usage-actions {
    margin-top: 10px;
    text-align: right;
}

.aicvs-upgrade-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.aicvs-upgrade-button:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.aicvs-upgrade-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Usage Section Responsive Design */
@media (max-width: 768px) {
    .aicvs-usage-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .aicvs-usage-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .aicvs-usage-title {
        font-size: 16px;
    }
    
    .aicvs-usage-subtitle {
        font-size: 13px;
    }
    
    .aicvs-usage-stat {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .aicvs-usage-stat-value {
        font-size: 16px;
    }
    
    .aicvs-usage-content {
        gap: 15px;
    }
    
    .aicvs-upgrade-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Subscription Section */
.aicvs-subscription-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.aicvs-subscription-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.aicvs-subscription-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.aicvs-subscription-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Active Subscription Styles */
.aicvs-subscription-active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.aicvs-subscription-plan {
    flex: 1;
}

.aicvs-subscription-plan-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.aicvs-subscription-plan-details {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 3px;
}

.aicvs-subscription-plan-price {
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
}

/* Inactive Subscription Styles */
.aicvs-subscription-inactive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.aicvs-subscription-message {
    font-size: 16px;
    color: #2c3e50;
    flex: 1;
}

.aicvs-pick-plan-button {
    background: #343a40;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(52, 58, 64, 0.3);
}

.aicvs-pick-plan-button:hover {
    background: #23272b;
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 58, 64, 0.4);
}

.aicvs-pick-plan-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Subscription Section Responsive Design */
@media (max-width: 768px) {
    .aicvs-subscription-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .aicvs-subscription-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .aicvs-subscription-title {
        font-size: 16px;
    }
    
    .aicvs-subscription-subtitle {
        font-size: 13px;
    }
    
    .aicvs-subscription-active,
    .aicvs-subscription-inactive {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .aicvs-subscription-message {
        font-size: 15px;
    }
    
    .aicvs-pick-plan-button,
    .aicvs-manage-subscription-button {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Delete Section */

.aicvs-delete-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.aicvs-delete-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.aicvs-delete-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.aicvs-delete-content {
    display: flex;
    justify-content: flex-end;
}

.aicvs-delete-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aicvs-view-history-button {
    background: #17a2b8;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aicvs-view-history-button:hover {
    background: #138496;
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
}

.aicvs-view-history-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.aicvs-manage-subscription-button,
.aicvs-delete-history-button {
    background: #6c757d;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.aicvs-manage-subscription-button:hover,
.aicvs-delete-history-button:hover {
    background: #545b62;
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
}

/* Delete Section Responsive Design */
@media (max-width: 768px) {
    .aicvs-delete-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .aicvs-delete-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .aicvs-delete-title {
        font-size: 16px;
    }
    
    .aicvs-delete-subtitle {
        font-size: 13px;
    }
    
    .aicvs-delete-content {
        justify-content: center;
    }
    
    .aicvs-delete-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .aicvs-view-history-button,
    .aicvs-delete-history-button {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Delete Account Section */
.aicvs-delete-account-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
}

.aicvs-delete-account-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.aicvs-delete-account-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.aicvs-delete-account-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.aicvs-delete-account-message {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.5;
    flex: 1;
}

.aicvs-contact-support-button {
    background: #6c757d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.aicvs-contact-support-button:hover {
    background: #545b62;
    text-decoration: none;
    color: #fff;
    transform: translateY(-1px);
}

/* Delete Account Section Responsive Design */
@media (max-width: 768px) {
    .aicvs-delete-account-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .aicvs-delete-account-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .aicvs-delete-account-title {
        font-size: 16px;
    }
    
    .aicvs-delete-account-subtitle {
        font-size: 13px;
    }
    
    .aicvs-delete-account-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .aicvs-delete-account-message {
        font-size: 15px;
    }
    
    .aicvs-contact-support-button {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
}

body.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(1), 
body.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none;
}

/* Welcome Section */
.aicvs-welcome-section {
    margin-bottom: 30px;
}

.aicvs-welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.aicvs-welcome-text {
    flex: 1;
}

.aicvs-welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.aicvs-welcome-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.aicvs-welcome-actions {
    display: flex;
    align-items: flex-start;
}

.aicvs-sign-out-link {
    color: #ff5252;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.aicvs-sign-out-link:hover {
    color: #495057;
    text-decoration: underline;
}

/* Welcome Section Responsive Design */
@media (max-width: 768px) {
    .aicvs-welcome-section {
        margin-bottom: 20px;
    }
    
    .aicvs-welcome-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .aicvs-welcome-title {
        font-size: 28px !important;
        line-height: normal !important;
    }
    
    .aicvs-welcome-subtitle {
        font-size: 15px;
    }
    
    .aicvs-sign-out-link {
        font-size: 15px;
    }
}

.aicvs-modal {
    position: fixed;
    z-index: 999931;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.aicvs-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.aicvs-modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    z-index: 2;
    animation: aicvs-modal-enter 0.3s ease-out;
}
.aicvs-modal-header {
    padding: 25px 30px;
    background: #1a1a1a;
    color: white;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.aicvs-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.aicvs-modal-close {
    position: absolute;
    color: #fff;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.aicvs-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.aicvs-modal-body {
    padding: 35px 40px 40px;
    line-height: 1.6;
}

.aicvs-view-results-btn {
    background: #34bab1;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.aicvs-view-results-btn:hover {
    background: #2b9b93;
}

.aicvs-job-desc-preview {
    color: #666;
    font-style: italic;
    cursor: help;
}

.aicvs-no-job-desc {
    color: #999;
    font-style: italic;
}

.aicvs-actions-column {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .aicvs-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .aicvs-view-results-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Trial Plan Styling */
.aicvs-trial-info {
    margin-top: 12px;
}

.aicvs-trial-info strong {
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}
