/* Base container styles */
.privacybee-welcome {
    width: 90%;
    margin: 20px 0 0 0;
    padding: 1em;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #555;
}

/* Generic typography classes */
.pb-title {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 36px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.pb-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.pb-subheading {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    color: #333;
}

.pb-content {
    font-size: 14px;
    padding: 0;
    color: #6B7280;
}

.pb-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: none;
    margin: 10px 0 0 0;
    padding: 0;
    max-width: 760px;
    min-width: 480px;
    width: 100%;
}

.pb-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
    letter-spacing: 0;
}

.pb-form-input {
    width: 100%;
    padding: 16px 16px;
    font-size: 14px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 18px;
    color: #222;
    background: #fff;
    font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.pb-form-input:focus {
    border-color: #FBC001;
}

.pb-button {
    display: inline-block;
    text-decoration: none;
    padding: 8px;
    background-color: transparent;
    color: #feb625;
    border: 2px solid #feb625;
    border-radius: 6px;
    font-size: 14px;
    line-height: 145%;
    font-weight: 400;
    font-family: sans-serif;
    transition: 0.3s;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    outline: none;
    margin-bottom: 8px;
}

.pb-button:hover, .pb-button:focus {
    background-color: #feb625;
    color: #fff;
}

.pb-help-text {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.pb-link {
    color: #6B7280;
    text-decoration: underline;
    transition: color 0.2s;
}

.pb-link:hover {
    color: #F59E00;
}

/* Welcome screen styles */
.privacybee-welcome-header {
    display: flex;
    align-items: flex-start;
    padding: 0;
    background-color: transparent;
    border-bottom: none;
    margin-bottom: 20px;
}

.privacybee-welcome-logo {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    flex-shrink: 0;
}

.privacybee-welcome-header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Legacy classes - kept for backward compatibility */
.privacybee-welcome-title {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 36px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.privacybee-welcome-content {
    padding: 0;
}

.privacybee-welcome-heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.privacybee-welcome-subheading {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
    color: #555;
}

/* Welcome screen feature list */
.privacybee-welcome-subheading strong {
    font-weight: 600;
}

.privacybee-welcome-features {
    margin: 15px 0;
}

.privacybee-welcome-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.privacybee-welcome-feature-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    color: #FBC001;
    flex-shrink: 0;
}

.privacybee-welcome-feature-text {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
}

/* Welcome screen CTA button */
.privacybee-welcome-cta {
    margin-top: 20px;
    text-align: left;
}

.privacybee-welcome-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f7b500;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.privacybee-welcome-button:hover {
    background-color: #e6a800;
}

.privacybee-secondary-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f0f0f1;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.privacybee-secondary-button:hover {
    background-color: #e5e5e5;
}

/* Screen toggling styles */
/* Screen visibility control */
.privacybee-screen {
    display: none;
}

.privacybee-screen.active {
    display: block;
}

/* API card styles */
.privacybee-api-card {
    /* Using pb-card for base styles */
    border-radius: 12px;
}


.privacybee-api-content,
.privacybee-settings-content {
    flex: 1;
    padding: 20px 32px 20px 32px;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #222;
}

.privacybee-api-title {
    /* Use pb-heading instead */
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.privacybee-api-description {
    /* Use pb-content instead */
    font-size: 17px;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
}

.privacybee-api-key-section {
    margin-bottom: 20px;
}

.privacybee-api-label {
    /* Use pb-form-label instead */
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
    letter-spacing: 0;
}

.privacybee-api-input {
    /* Use pb-form-input instead */
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 16px;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s;
}

.privacybee-api-input:focus {
    border-color: #FBC001;
}

.privacybee-api-button {
    /* Use pb-button instead */
    width: 100%;
    padding: 8px;
    background-color: transparent;
    color: #feb625;
    border: 2px solid #feb625;
    border-radius: 6px;
    font-size: 14px;
    line-height: 145%;
    font-weight: 400;
    font-family: sans-serif;
    transition: 0.3s;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    box-shadow: none;
    outline: none;
    margin-bottom: 8px;
}

.privacybee-api-button:hover, .privacybee-api-button:focus {
    background-color: #feb625;
    color: #fff;
}

.privacybee-api-help {
    /* Use pb-help-text instead */
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.privacybee-api-link {
    /* Use pb-link instead */
    color: #6B7280;
    text-decoration: underline;
    transition: color 0.2s;
}

.privacybee-api-link:hover {
    color: #F59E00;
}

/* API step indicator styles */
.privacybee-api-step {
    padding: 20px 32px 20px 32px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 120px;
    min-width: 96px;
    min-height: 160px;
    box-sizing: border-box;
}

.privacybee-step-image {
    width: 80px;
    height: 80px;
    display: block;
}

/* API content container */
.privacybee-api-content {
    padding: 32px 40px 32px 0;
    flex: 1;
    font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
    color: #222;
}

.privacybee-api-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.privacybee-api-description {
    font-size: 17px;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
}

.privacybee-api-key-section {
    margin-bottom: 20px;
}

.privacybee-api-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #222;
    font-size: 15px;
    letter-spacing: 0;
}

/* API form styles */
.privacybee-api-form {
    margin: 10px 0 15px;
}

/* Error and success message styles */
.pb-error-message {
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
    border-radius: 6px;
    padding: 10px 12px;
    margin: -10px 0 18px 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.pb-success-message {
    background-color: #F0FDF4;
    color: #16A34A;
    border: 1px solid #86EFAC;
    border-radius: 6px;
    padding: 10px 12px;
    margin: -10px 0 18px 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.privacybee-form-group {
    display: block;
    margin-bottom: 15px;
    max-width: 100%;
}

.privacybee-api-input {
    width: 100%;
    padding: 16px 18px;
    font-size: 17px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 18px;
    color: #222;
    background: #fff;
    font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
}

.privacybee-api-button {
    width: 100%;
    padding: 16px 0;
    background: #fff;
    color: #F59E00;
    border: 2px solid #FBC001;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    display: block;
    box-shadow: none;
    outline: none;
    font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
    margin-bottom: 8px;
}

.privacybee-api-button:hover, .privacybee-api-button:focus {
    background: #FFF9E5;
    color: #D48806;
    border-color: #FBC001;
}

/* Duplicate style - can be removed */
.privacybee-api-button:hover {
    background-color: #e9b000;
}

/* Duplicate help text styles - use pb-help-text instead */
.privacybee-api-help {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* Duplicate link styles - use pb-link instead */
.privacybee-api-link {
    color: #0073aa;
    text-decoration: underline;
}

/* Footer styles */
.privacybee-welcome-note {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.privacybee-welcome-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.privacybee-welcome-footer a {
    color: #FBC001;
    text-decoration: none;
}

.privacybee-welcome-footer a:hover {
    text-decoration: underline;
}
