/**
 * Premium Content Manager Frontend Styles
 */

/* Popup Overlay */
.pcm-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: none;
}

body.pcm-popup-open {
    overflow: hidden;
}

/* Popup Container */
.pcm-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Popup Header */
.pcm-popup-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    position: relative;
    text-align: center;
}

.pcm-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    font-weight: 600;
    cursor: pointer;
    color: #B97A54;
    transition: color 0.3s ease;
    line-height: 1;
}

.pcm-popup-close:hover {
    color: #a56b49;
}

/* Voucher link in header */
.pcm-voucher-header-link {
    position: absolute;
    top: 12px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #B97A54;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    transition: all 0.3s ease;
}
.pcm-voucher-header-link:hover {
    background: #a56b49;
    color: #fff !important;
}

/* Step Indicator */
.pcm-step-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.pcm-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.pcm-step.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.1);
}

.pcm-step.completed {
    background: #4CAF50;
}

/* Popup Content */
.pcm-popup-content {
    padding: 0;
}

/* New Popup Design */
.pcm-single-step-popup {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.pcm-popup-header-section {
    text-align: center;
    padding: 30px;
}

.pcm-popup-badge {
    background: #f0f0f0;
    color: #666;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.pcm-popup-header-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.pcm-popup-price {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}

.pcm-popup-header-section p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-size: 16px;
}

.pcm-coupon-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.pcm-coupon-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
}

.pcm-coupon-input {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    width: 200px;
}

.pcm-apply-coupon-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
}

.pcm-coupon-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 12px 24px;
    border-radius: 25px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-coupon-btn:hover {
    border-color: #B8621A;
    color: #B8621A;
}

.pcm-add-btn {
    background: #D2691E;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-add-btn:hover {
    background: #B8621A;
}

.pcm-divider {
    height: 1px;
    background: #eee;
    margin: 0 30px;
}

.pcm-billing-form-grid .full-width {
    grid-column: 1 / -1;
}

/* User Account Section */
.pcm-user-account-section {
    padding: 30px;
}

.pcm-user-account-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.pcm-user-account-section p {
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 25px 0;
}

.pcm-logged-in-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f8f3ee;
    border: 1px solid #ead9cd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pcm-checkmark {
    color: #B97A54;
    font-size: 20px;
    font-weight: bold;
}

.pcm-auth-options {
    max-width: 400px;
    margin: 0 auto;
}

.pcm-auth-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.pcm-auth-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.pcm-auth-option input[type="radio"] {
    margin-right: 8px;
    width: auto;
}

.pcm-auth-option input[type="radio"]:checked + span {
    color: #D2691E;
    font-weight: 600;
}

.pcm-input-group {
    margin-bottom: 15px;
}

.pcm-password-input {
    position: relative;
}

.pcm-password-input .pcm-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    color: #999;
}

.pcm-password-input .pcm-password-toggle.active {
    color: #D2691E;
}

.pcm-input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.pcm-input-group input:focus {
    outline: none;
    border-color: #D2691E;
}

.pcm-input-group input::placeholder {
    color: #999;
    font-weight: 400;
}

.pcm-forgot-password {
    text-align: center;
    margin: 15px 0;
}

.pcm-forgot-password a {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

.pcm-login-checkbox {
    text-align: center;
    margin: 15px 0;
}

.pcm-login-checkbox label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.pcm-login-checkbox input {
    width: auto;
}

.pcm-continue-btn {
    width: 100%;
    background: #B97A54;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.pcm-continue-btn:hover {
    background: #a56b49;
}

.pcm-back-btn {
    width: 100%;
    background: transparent;
    color: #666;
    border: 2px solid #eee;
    padding: 12px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-back-btn:hover {
    border-color: #ddd;
    color: #333;
}

.pcm-terms-text {
    text-align: center;
    margin: 15px 0;
}

.pcm-terms-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.pcm-terms-text a {
	    color: #B97A54 !important;
	    text-decoration: underline;
	}

/* Payment Section */
.pcm-payment-section {
    padding: 30px;
}

.pcm-payment-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    text-align: center;
}

.pcm-payment-options {
    max-width: 400px;
    margin: 0 auto 25px auto;
}

.pcm-payment-option {
    display: block;
    padding: 15px 20px;
    margin-bottom: 10px;
    border: 2px solid #eee;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.pcm-payment-option.selected {
    border-color: #D2691E;
    background: #fff8f5;
}

.pcm-payment-option input {
    display: none;
}

.pcm-payment-option span {
    font-weight: 500;
    color: #333;
}

/* Billing Section */
.pcm-billing-section {
    padding: 30px;
}

.pcm-billing-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    text-align: center;
}

.pcm-billing-type-new {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.pcm-billing-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.pcm-billing-option input[type="radio"] {
    margin-right: 8px;
    width: auto;
}

.pcm-billing-option.selected span {
    color: #D2691E;
    font-weight: 600;
}

.pcm-billing-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pcm-billing-form-grid .pcm-input-group:nth-child(3),
.pcm-billing-form-grid .pcm-input-group:nth-child(6) {
    grid-column: 1 / -1;
}

.pcm-billing-form-grid select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.pcm-billing-form-grid select:focus {
    outline: none;
    border-color: #D2691E;
}

.pcm-billing-info {
    text-align: center;
    margin: 25px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pcm-billing-info p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.pcm-billing-info a {
    color: #D2691E;
    text-decoration: underline;
}

.pcm-order-btn {
    width: 100%;
    background: #B97A54;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.pcm-order-btn:hover {
    background: #a56b49;
}

/* Success Popup */
.pcm-success-popup {
    text-align: center;
    padding: 60px 30px;
}

.pcm-success-popup .pcm-success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.pcm-success-popup h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.pcm-success-popup p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.pcm-success-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-success-btn:hover {
    background: #45a049;
}

/* Cancel Subscription Styles */
.pcm-cancel-subscription-section {
    background: #fff5f5;
    border: 2px dashed #ff6b6b;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.pcm-cancel-subscription-section h4 {
    color: #d63031;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.pcm-cancel-subscription-section p {
    color: #666;
    margin: 0 0 20px 0;
}

.pcm-cancel-btn {
    background: #d63031;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-cancel-btn:hover {
    background: #b71c1c;
}

.pcm-cancel-btn-small {
    background: #d63031;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcm-cancel-btn-small:hover {
    background: #b71c1c;
}

.pcm-active-package-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#pcm-company-fields {
    display: none;
}

#pcm-personal-fields.hidden {
    display: none;
}

#pcm-company-fields.visible {
    display: grid;
}

.pcm-step-content {
    text-align: center;
}

.pcm-step-content h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.pcm-step-content p {
    margin: 0 0 30px 0;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Price Display */
.pcm-price {
    font-size: 36px;
    font-weight: bold;
    color: #2271b1;
    margin: 20px 0;
}

/* Loading */
.pcm-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Auth Forms */
.pcm-auth-forms {
    text-align: left;
}

.pcm-auth-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.pcm-auth-tab {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.pcm-auth-tab.active {
    background: white;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pcm-auth-form {
    display: none;
}

.pcm-auth-form.active {
    display: block;
}

.pcm-logged-in-info {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pcm-logged-in-info p {
    margin: 0 0 20px 0;
    color: #2e7d32;
    font-weight: 600;
}

/* Payment Methods */
.pcm-payment-methods-list {
    text-align: left;
    margin-bottom: 30px;
}

.pcm-payment-method {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f3ee;
    border: 1px solid #ead9cd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pcm-payment-method:hover {
    border-color: #DA8957;
}

.pcm-payment-method.active {
    border-color: #DA8957;
    background: #f8f3ee;
}

.pcm-payment-method.active::after {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #DA8957;
    font-weight: bold;
    font-size: 18px;
}

.pcm-payment-method input {
    display: none;
}

.pcm-payment-method label {
    cursor: pointer;
    display: block;
    width: 100%;
}

.pcm-payment-title {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.pcm-payment-method-desc {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.pcm-payment-method-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.pcm-payment-note-icon {
    color: #D2691E;
    font-size: 16px;
    line-height: 1;
    margin-top: 2px;
}

/* Forms */
.pcm-form-row {
    margin-bottom: 20px;
    text-align: left;
}

.pcm-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.pcm-form-row input,
.pcm-form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.pcm-form-row input:focus,
.pcm-form-row select:focus {
    outline: none;
    border-color: #667eea;
}

.pcm-form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.pcm-billing-type {
    margin-bottom: 25px;
    text-align: left;
}

.pcm-billing-type label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}

.pcm-billing-type input {
    margin-right: 8px;
    width: auto;
}

/* Step Actions */
.pcm-step-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Buttons */
.pcm-buy-button,
.pcm-buy-post-btn,
.pcm-buy-package-btn,
button.pcm-buy-button,
button.pcm-buy-post-btn,
button.pcm-buy-package-btn {
    background: #D2691E !important;
    color: white;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 33px !important;
    cursor: pointer;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
}

.pcm-buy-button:hover,
.pcm-buy-post-btn:hover,
.pcm-buy-package-btn:hover,
button.pcm-buy-button:hover,
button.pcm-buy-post-btn:hover,
button.pcm-buy-package-btn:hover {
    background: #B8621A !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3) !important;
}

.pcm-buy-button:disabled,
button.pcm-buy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Package Box */
.pcm-package-box {
    background: white;
    border: 2px dashed #dee2e6;
    border-radius: 33px;
    padding: 24px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s ease;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-package-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pcm-package-box h3 {
    margin: 0 0 15px 0;
    color: #303637;
    font-size: 20px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.pcm-package-box p {
    margin: 0 0 16px 0;
    color: #303637;
    line-height: 1.6;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-package-box .pcm-price {
    margin: 16px 0;
}

.pcm-price-amount {
    font-size: 24px;
    font-weight: bold;
    color: #303637;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-price-period {
    font-size: 16px;
    color: #303637;
    margin-left: 5px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Success Step */
.pcm-success-step {
    padding: 40px 20px;
}

.pcm-success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.pcm-success-step h2 {
    color: #4CAF50;
    margin-bottom: 20px;
}

/* Account Dashboard Styles */
.pcm-account-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pcm-account-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.pcm-account-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.pcm-account-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.pcm-account-nav {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.pcm-account-tab {
    flex: 1;
    padding: 15px 20px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    border-right: 1px solid #e9ecef;
    text-decoration: none;
    text-align: center;
}

.pcm-account-tab:last-child {
    border-right: none;
}

.pcm-account-tab:hover {
    background: #e9ecef;
    color: #333;
}

.pcm-account-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pcm-account-section {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pcm-account-section.active {
    display: block;
}

.pcm-account-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

/* Protected Content Styles */
.pcm-protected-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.pcm-protection-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.pcm-protection-title {
    color: #495057;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-protection-description {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-protection-price {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.pcm-price-label {
    color: #6c757d;
    font-size: 14px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-price-amount {
    color: #303637;
    font-size: 24px;
    font-weight: bold;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pcm-popup {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
        left: 20px;
        right: 20px;
        transform: translate(0, -50%);
    }

    .pcm-popup-header {
        padding: 20px 24px;
    }

    .pcm-popup-header-section {
        padding: 24px 24px 16px;
    }

    .pcm-popup-content {
        padding: 20px;
    }

    .pcm-divider {
        margin: 16px 24px;
    }

    .pcm-user-account-section,
    .pcm-payment-section,
    .pcm-billing-section {
        padding: 0 24px;
    }

    .pcm-step-content h2 {
        font-size: 22px;
    }

    .pcm-price {
        font-size: 26px;
    }

    .pcm-form-row-group {
        grid-template-columns: 1fr;
    }

    .pcm-step-actions {
        flex-direction: column;
        align-items: center;
    }

    .pcm-step-actions .pcm-buy-button {
        width: 100%;
        max-width: 300px;
    }

    .pcm-auth-toggle {
        flex-direction: column;
    }

    .pcm-account-nav {
        flex-wrap: wrap;
    }

    .pcm-account-tab {
        flex: 1 1 50%;
        min-width: 120px;
    }

    .pcm-popup h2 {
        font-size: 1.3em !important;
    }

    .pcm-popup h3 {
        font-size: 1.1em !important;
    }

    .pcm-popup h4 {
        font-size: 0.95em !important;
    }

    .pcm-package-box {
        padding: 20px;
        border-radius: 28px;
    }

    .pcm-package-box h3 {
        font-size: 18px;
    }

    .pcm-price-amount {
        font-size: 22px;
    }

    .pcm-popup-close {
        font-size: 28px;
        top: 12px;
        right: 16px;
    }

    .pcm-voucher-header-link {
        font-size: 11px;
        padding: 6px 12px;
        top: 10px;
        left: 16px;
    }
}

@media (max-width: 480px) {
    .pcm-popup {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        left: 10px;
        right: 10px;
    }

    .pcm-step-indicator {
        gap: 8px;
    }

    .pcm-step {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .pcm-popup-header {
        padding: 16px 16px;
    }

    .pcm-popup-header-section {
        padding: 20px 16px 12px;
    }

    .pcm-popup-content {
        padding: 16px;
    }

    .pcm-divider {
        margin: 12px 16px;
    }

    .pcm-user-account-section,
    .pcm-payment-section,
    .pcm-billing-section {
        padding: 0 16px;
    }

    .pcm-package-box {
        padding: 16px;
        border-radius: 24px;
    }

    .pcm-package-box h3 {
        font-size: 16px;
    }

    .pcm-price-amount {
        font-size: 20px;
    }

    .pcm-account-dashboard {
        padding: 10px;
    }

    .pcm-account-header {
        padding: 16px;
    }

    .pcm-account-header h2 {
        font-size: 20px;
    }

    .pcm-popup h1 {
        font-size: 1.5em !important;
    }

    .pcm-popup h2 {
        font-size: 1.2em !important;
    }

    .pcm-popup h3 {
        font-size: 1em !important;
    }

    .pcm-popup h4 {
        font-size: 0.9em !important;
    }

    .pcm-popup-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .pcm-voucher-code-display {
        font-size: 18px;
        padding: 12px;
        letter-spacing: 1px;
    }

    .pcm-success-popup .pcm-success-icon {
        font-size: 60px;
    }

    .pcm-success-popup h2 {
        font-size: 22px;
    }

    .pcm-success-popup p {
        font-size: 14px;
    }

    .pcm-redeem-error .pcm-error-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    .pcm-redeem-error h2 {
        font-size: 20px;
    }

    .pcm-redeem-error p {
        font-size: 14px;
    }

    .pcm-popup-close {
        font-size: 24px;
        top: 10px;
        right: 12px;
    }

    .pcm-voucher-header-link {
        font-size: 10px;
        padding: 5px 10px;
        top: 8px;
        left: 12px;
    }
}

/* Account Shortcodes Styles */
.pcm-account-orders {
	max-width: 800px;
	margin: 0 auto;
}

/* ==========================================================================
   WooCommerce Thank You Page - Professional Design
   ========================================================================== */

.pcm-order-thankyou {
	max-width: 700px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.pcm-order-thankyou * {
	box-sizing: border-box !important;
}

/* Success Icon */
.pcm-order-thankyou::before {
	content: '✓' !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 80px !important;
	height: 80px !important;
	margin: 0 auto 24px !important;
	background: linear-gradient(135deg, #B97A54 0%, #D4A574 100%) !important;
	color: #fff !important;
	font-size: 40px !important;
	font-weight: 700 !important;
	border-radius: 50% !important;
	box-shadow: 0 8px 24px rgba(185, 122, 84, 0.3) !important;
}

/* Header */
.pcm-order-thankyou-header {
	text-align: center !important;
	margin-bottom: 40px !important;
	padding-bottom: 32px !important;
	border-bottom: 1px solid #e9ecef !important;
}

.pcm-order-thankyou-header h2 {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 12px 0 !important;
	line-height: 1.3 !important;
}

.pcm-order-thankyou-header p {
	color: #6c757d !important;
	margin: 0 !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}

/* Content Block */
.pcm-order-thankyou-content {
	margin-bottom: 32px !important;
	padding: 24px !important;
	background: #f8f9fa !important;
	border-radius: 12px !important;
	border: 1px solid #e9ecef !important;
}

.pcm-order-thankyou-content-item {
	margin-bottom: 16px !important;
}

.pcm-order-thankyou-content-item:last-child {
	margin-bottom: 0 !important;
}

.pcm-order-thankyou-content-item h3 {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 0 8px 0 !important;
}

.pcm-order-thankyou-content-item p {
	margin: 0 0 8px 0 !important;
	color: #555 !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}

/* Posts list */
.pcm-order-thankyou-posts {
	margin-top: 16px !important;
}

.pcm-order-thankyou-posts p {
	margin: 0 0 12px 0 !important;
	color: #555 !important;
	font-size: 14px !important;
}

.pcm-order-thankyou-posts ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.pcm-order-thankyou-posts ul li {
	padding: 10px 0 !important;
	border-bottom: 1px solid #e9ecef !important;
	font-size: 15px !important;
}

.pcm-order-thankyou-posts ul li:last-child {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.pcm-order-thankyou-posts ul li::before {
	content: '→' !important;
	margin-right: 10px !important;
	color: #B97A54 !important;
	font-weight: 600 !important;
}

/* Dates list */
.pcm-order-thankyou-dates {
	margin: 16px 0 0 !important;
	padding: 16px !important;
	background: #fff !important;
	border-radius: 8px !important;
	list-style: none !important;
}

.pcm-order-thankyou-dates li {
	display: flex !important;
	align-items: center !important;
	padding: 8px 0 !important;
	color: #555 !important;
	font-size: 14px !important;
	border-bottom: 1px dashed #e9ecef !important;
}

.pcm-order-thankyou-dates li:last-child {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.pcm-order-thankyou-dates li::before {
	content: '📅' !important;
	margin-right: 10px !important;
	font-size: 16px !important;
}

/* Payment section */
.pcm-order-thankyou-payment {
	padding: 24px !important;
	background: #fff !important;
	border: 1px solid #e9ecef !important;
	border-radius: 12px !important;
	margin-bottom: 32px !important;
}

.pcm-order-thankyou-payment h3 {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin: 0 0 16px 0 !important;
	color: #1a1a1a !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
}

.pcm-order-thankyou-payment ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pcm-order-thankyou-payment li {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 12px 0 !important;
	color: #555 !important;
	font-size: 15px !important;
	border-bottom: 1px solid #f0f0f0 !important;
}

.pcm-order-thankyou-payment li:last-child {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

/* Extra section (invoice links etc.) */
.pcm-order-thankyou-extra {
	margin-top: 16px !important;
	padding-top: 16px !important;
	border-top: 1px dashed #e9ecef !important;
}

/* Actions / Buttons */
.pcm-order-thankyou-actions {
	margin-top: 32px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 16px !important;
}

.pcm-order-thankyou .pcm-continue-btn {
	width: 100% !important;
	max-width: 320px !important;
	background: #F8F3F0!important;
	color: #ffffff !important;
	border: none !important;
	padding: 16px 32px !important;
	border-radius: 50px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 16px rgba(185, 122, 84, 0.25) !important;
}

.pcm-order-thankyou .pcm-continue-btn:hover {
	background: linear-gradient(135deg, #a56b49 0%, #B97A54 100%) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(185, 122, 84, 0.35) !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.pcm-order-thankyou .pcm-secondary-btn {
	background: transparent !important;
	color: #B97A54 !important;
	border: 2px solid #B97A54 !important;
	box-shadow: none !important;
}

.pcm-order-thankyou .pcm-secondary-btn:hover {
	background: rgba(185, 122, 84, 0.08) !important;
	transform: translateY(-2px) !important;
	color: #B97A54 !important;
	text-decoration: none !important;
}

/* Links - Override all blue colors */
.pcm-order-thankyou a,
.pcm-order-thankyou a:link,
.pcm-order-thankyou a:visited {
	color: #B97A54 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	transition: all 0.2s ease !important;
}

.pcm-order-thankyou a:hover,
.pcm-order-thankyou a:focus,
.pcm-order-thankyou a:active {
	color: #8f5a3e !important;
	text-decoration: none !important;
}

/* Continue link in content */
.pcm-order-thankyou .pcm-continue-link {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	color: #B97A54 !important;
	font-weight: 600 !important;
	font-size: 15px !important;
}

.pcm-order-thankyou .pcm-continue-link::after {
	content: '→' !important;
	transition: transform 0.2s ease !important;
}

.pcm-order-thankyou .pcm-continue-link:hover::after {
	transform: translateX(4px) !important;
}

/* Responsive */
@media (max-width: 768px) {
	.pcm-order-thankyou {
		padding: 0 16px !important;
	}

	.pcm-order-thankyou::before {
		width: 70px !important;
		height: 70px !important;
		font-size: 36px !important;
	}

	.pcm-order-thankyou-header h2 {
		font-size: 24px !important;
	}

	.pcm-order-thankyou-content,
	.pcm-order-thankyou-payment {
		padding: 20px !important;
	}

	.pcm-order-thankyou .pcm-continue-btn {
		padding: 14px 28px !important;
		font-size: 14px !important;
	}
}

@media (max-width: 480px) {
	.pcm-order-thankyou::before {
		width: 60px !important;
		height: 60px !important;
		font-size: 32px !important;
		margin-bottom: 20px !important;
	}

	.pcm-order-thankyou-header {
		margin-bottom: 28px !important;
		padding-bottom: 24px !important;
	}

	.pcm-order-thankyou-header h2 {
		font-size: 22px !important;
	}

	.pcm-order-thankyou-header p {
		font-size: 14px !important;
	}

	.pcm-order-thankyou-content,
	.pcm-order-thankyou-payment {
		padding: 16px !important;
	}

	.pcm-order-thankyou-content-item h3 {
		font-size: 18px !important;
	}

	.pcm-order-thankyou .pcm-continue-btn {
		width: 100% !important;
		max-width: none !important;
	}
}

.pcm-orders-list {
    /*background: white;*/
    border-radius: 8px;
    overflow: hidden;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
}

.pcm-order-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.pcm-order-date {
    min-width: 100px;
    color: #666;
    font-size: 14px;
}

.pcm-order-description {
    flex: 1;
    padding: 0 20px;
    color: #333;
    font-weight: 500;
}

.pcm-order-amount {
    min-width: 80px;
    text-align: right;
    font-weight: bold;
    color: #333;
}

.pcm-order-actions {
    margin-left: 20px;
}

.pcm-download-invoice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcm-download-invoice:hover {
    background: #e9ecef;
}

/* Order item links */
.pcm-order-description a {
    color: #D2691E !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.pcm-order-description a:hover {
    color: #B8621A !important;
    text-decoration: underline !important;
}

/* Billing Form Styles */
.pcm-account-billing {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-billing-type {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.pcm-radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pcm-radio-option:hover {
    background: #f8f9fa;
}

.pcm-radio-option.selected {
    background: #fff8f5;
    color: #D2691E;
    font-weight: 600;
}

.pcm-radio-option input[type="radio"] {
    margin-right: 8px;
    width: auto;
}

.pcm-radio-text {
    color: #333;
    font-weight: 500;
}

.pcm-billing-fields {
	/* Pro billing formulář v sekci Můj účet nechceme kartu se stínem,
	   jen čisté pole podobné registračnímu formuláři */
	background: transparent;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

.pcm-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pcm-field {
    display: flex;
    flex-direction: column;
	margin-bottom: 20px!important;
}

.pcm-field label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pcm-field input,
.pcm-field select {
	/* Styl vstupů jako u registračního formuláře – „pilulky“ */
	width: 100%;
	padding: 15px 20px;
	border: 2px solid #eee;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 500;
	color: #333;
	background: white;
	box-sizing: border-box;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	transition: border-color 0.3s ease;
}

.pcm-field input:focus,
.pcm-field select:focus {
    outline: none;
    border-color: #D2691E;
}

.pcm-form-submit {
    text-align: center;
    margin-top: 30px;
}

.pcm-submit-btn {
    background: #D2691E;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 33px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-submit-btn:hover {
    background: #B8621A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
}

/* Account Settings Styles */
.pcm-account-settings {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-settings-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.pcm-settings-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.pcm-newsletter-options {
    margin-bottom: 20px;
}

.pcm-checkbox-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
}

.pcm-checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: auto;
}

.pcm-checkbox-text {
    color: #333;
    line-height: 1.5;
}

/* Subscriptions Styles */
.pcm-account-subscriptions {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pcm-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pcm-package-card {
	background: white;
	border: 2px solid #dee2e6;
	border-radius: 12px;
	padding: 30px 20px;
	text-align: center;
	transition: all 0.3s ease;
	/* Sjednocení výšky boxů s flexibilním obsahem */
	min-height: 380px;
	display: flex;
	flex-direction: column;
}

.pcm-package-card.pcm-package-active {
    border-color: #D2691E;
    background: #fff8f5;
}

.pcm-package-header {
    margin-bottom: 20px;
}

.pcm-package-type {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pcm-package-name {
    font-size: 24px;
    font-weight: 600;
    color: #D2691E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcm-package-description {
    color: #666;
    line-height: 1.5;
	margin-bottom: 20px;
}

/* Spodní část karty: cena + tlačítka zarovnané k dolnímu okraji */
.pcm-package-price,
.pcm-package-action {
	margin-top: auto;
}

.pcm-price-amount {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.pcm-price-period {
    color: #666;
    font-size: 14px;
}

.pcm-package-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: 33px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.pcm-btn-active {
    background: #28a745;
    color: white;
}

.pcm-btn-purchase {
    background: #D2691E;
    color: white;
}

.pcm-btn-purchase:hover {
    background: #B8621A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
}

.pcm-consultation-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.pcm-consultation-header h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcm-consultation-header p {
    color: #666;
    margin-bottom: 20px;
}

.pcm-consultation-price {
    margin-bottom: 30px;
}

.pcm-price-range {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.pcm-price-unit {
    color: #666;
    font-size: 16px;
}

.pcm-consultation-btn {
    background: transparent;
    color: #D2691E;
    border: 2px solid #D2691E;
    padding: 12px 32px;
    border-radius: 33px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcm-consultation-btn:hover {
    background: #D2691E;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .pcm-field-row {
        grid-template-columns: 1fr;
    }

    .pcm-billing-type {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .pcm-packages-grid {
        grid-template-columns: 1fr;
    }

    .pcm-order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pcm-order-actions {
        margin-left: 0;
    }

    .pcm-payment-method {
        padding: 12px;
    }

    .pcm-payment-title {
        font-size: 15px;
    }

    .pcm-payment-method-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pcm-payment-method {
        padding: 10px;
        border-radius: 20px;
    }

    .pcm-payment-title {
        font-size: 14px;
    }

    .pcm-payment-method-desc {
        font-size: 12px;
    }

    .pcm-payment-method.active::after {
        font-size: 16px;
        right: 10px;
    }
}

/* Voucher Popup Styles */
.pcm-voucher-popup {
    padding: 30px;
    text-align: center;
}

.pcm-voucher-header {
    margin-bottom: 30px;
}

.pcm-voucher-badge {
    background: #DA8957;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.pcm-voucher-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.pcm-voucher-content {
    max-width: 400px;
    margin: 0 auto;
}

.pcm-voucher-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.pcm-voucher-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pcm-qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #DA8957;
    background: white;
    color: #DA8957;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pcm-qty-btn:hover {
    background: #DA8957;
    color: white;
}

.pcm-qty-display {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    min-width: 50px;
}

.pcm-voucher-price {
    font-size: 28px;
    font-weight: 700;
    color: #DA8957;
}

.pcm-price-currency {
    font-size: 20px;
}

.pcm-voucher-months {
    margin-bottom: 30px;
    text-align: left;
}

.pcm-voucher-months label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.pcm-months-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

.pcm-months-select:focus {
    outline: none;
    border-color: #DA8957;
}

.pcm-voucher-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pcm-add-to-cart-btn {
    background: #DA8957 !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.pcm-add-to-cart-btn:hover {
    background: #C67A4A !important;
}

.pcm-add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pcm-back-btn {
    background: transparent !important;
    color: #666 !important;
    border: 2px solid #e9ecef !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.pcm-back-btn:hover {
    border-color: #DA8957 !important;
    color: #DA8957 !important;
}

.pcm-voucher-success {
    padding: 40px 30px;
    text-align: center;
}

.pcm-voucher-success .pcm-success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.pcm-voucher-success h2 {
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.pcm-voucher-success p {
    margin: 0 0 30px;
    color: #666;
    font-size: 16px;
}

.pcm-success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pcm-success-btn {
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    display: inline-block !important;
    text-align: center !important;
    border: none !important;
}

.pcm-success-btn:not(.secondary) {
    background: #DA8957 !important;
    color: white !important;
}

.pcm-success-btn:not(.secondary):hover {
    background: #C67A4A !important;
}

.pcm-success-btn.secondary {
    background: transparent !important;
    color: #666 !important;
    border: 2px solid #e9ecef !important;
}

.pcm-success-btn.secondary:hover {
    border-color: #DA8957 !important;
    color: #DA8957 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .pcm-voucher-popup {
        padding: 24px;
    }

    .pcm-voucher-selector {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .pcm-voucher-price {
        font-size: 22px;
    }

    .pcm-success-actions {
        flex-direction: column;
        gap: 12px;
    }

    .pcm-success-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .pcm-redeem-voucher-popup {
        padding: 24px;
    }

    .pcm-voucher-badge {
        font-size: 11px;
        padding: 7px 14px;
    }

    .pcm-voucher-header h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .pcm-voucher-popup {
        padding: 16px;
    }

    .pcm-voucher-price {
        font-size: 20px;
    }

    .pcm-success-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .pcm-redeem-voucher-popup {
        padding: 16px;
    }

    .pcm-voucher-badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    .pcm-voucher-header h2 {
        font-size: 20px;
    }
}

/* Voucher Form Styles */
.pcm-voucher-section {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.pcm-voucher-section h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.pcm-voucher-section p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
}

.pcm-voucher-form {
    max-width: 400px;
}

.pcm-voucher-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.pcm-voucher-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pcm-voucher-input:focus {
    outline: none;
    border-color: #DA8957;
}

.pcm-voucher-submit {
    background: #DA8957 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.pcm-voucher-submit:hover {
    background: #C67A4A !important;
}

.pcm-voucher-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pcm-voucher-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.pcm-voucher-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pcm-voucher-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .pcm-voucher-input-group {
        flex-direction: column;
    }

    .pcm-voucher-submit {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .pcm-voucher-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }

    .pcm-voucher-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .pcm-voucher-submit {
        padding: 12px 20px;
        font-size: 14px;
    }

    .pcm-voucher-input {
        font-size: 16px;
        padding: 10px;
    }

    .pcm-voucher-section {
        padding: 16px;
    }

    .pcm-voucher-section h4 {
        font-size: 16px;
    }

    .pcm-voucher-section p {
        font-size: 13px;
    }
}

/* Redeem Voucher Popup Styles */
.pcm-redeem-voucher-popup {
    padding: 30px;
    text-align: center;
}

.pcm-voucher-code-display {
    font-family: monospace;
    font-size: 24px;
    font-weight: 700;
    color: #DA8957;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    letter-spacing: 2px;
}

.pcm-auth-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.pcm-auth-btn {
    background: #DA8957 !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: 1 !important;
    max-width: 200px !important;
}

.pcm-auth-btn:hover {
    background: #C67A4A !important;
}

.pcm-auth-btn.pcm-register-btn {
    background: transparent !important;
    color: #DA8957 !important;
    border: 2px solid #DA8957 !important;
}

.pcm-auth-btn.pcm-register-btn:hover {
    background: #DA8957 !important;
    color: white !important;
}

.pcm-redeem-auth-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.pcm-auth-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.pcm-form-group {
    margin-bottom: 20px;
}

.pcm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.pcm-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.pcm-form-group input:focus {
    outline: none;
    border-color: #DA8957;
}

.pcm-form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.pcm-submit-btn {
    background: #DA8957 !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.pcm-submit-btn:hover {
    background: #C67A4A !important;
}

.pcm-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pcm-redeem-success {
    padding: 40px 30px;
    text-align: center;
}

.pcm-redeem-success .pcm-success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.pcm-redeem-success h2 {
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.pcm-redeem-success p {
    margin: 0 0 15px;
    color: #666;
    font-size: 16px;
}

@media (max-width: 768px) {
    .pcm-auth-options {
        flex-direction: column;
        gap: 12px;
    }

    .pcm-auth-btn {
        max-width: none !important;
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pcm-auth-options {
        gap: 10px;
    }

    .pcm-auth-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Redeem error styles */
.pcm-redeem-error { padding: 40px 30px; text-align: center; }
.pcm-redeem-error .pcm-error-icon { width: 80px; height: 80px; border-radius: 50%; background: #f8d7da; color:#721c24; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:42px; margin: 0 auto 20px; }
.pcm-redeem-error h2 { margin: 0 0 15px; font-size: 24px; font-weight: 700; color: #333; }
.pcm-redeem-error p { margin: 0 0 15px; color:#666; font-size:16px; }

/* Voucher Months Selector in Popup */
.pcm-voucher-months-selector {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pcm-voucher-months-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.pcm-voucher-months-selector .pcm-months-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.pcm-voucher-months-selector .pcm-months-select:focus {
    outline: none;
    border-color: #DA8957;
}

.pcm-voucher-months-selector .pcm-months-select option {
    padding: 10px;
}

/* Popup visual refresh */
.pcm-popup {
    border-radius: 20px;
}

.pcm-popup-header-section {
    text-align: center;
    padding: 10px 10px 0;
}

.pcm-popup-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3eee9;
    color: #C67A4A;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pcm-popup-header-section h2 {
    font-size: 28px; /* smaller title */
    line-height: 1.25;
    color: #1f2a37;
    margin: 12px 0 8px;
    font-weight: 800;
    text-align: center;
}

#pcm-dynamic-price {
    font-size: 34px;
    font-weight: 800;
    color: #1f2a37;
    margin: 8px 0 10px;
    text-align: center;
}

.pcm-popup-desc { /* if used */
    color: #6b7280;
    font-size: 14px;
}

/* Legacy voucher link (moved to header) */
.pcm-voucher-top-link { display: none; }
.pcm-voucher-info-link { display: none; }
.pcm-voucher-link { color: #3b82f6; text-decoration: none; font-size: 14px; }
.pcm-add-wrapper { text-align: center; margin-top: 10px; }

/* Primary add button */
.pcm-add-btn {
    background: #B97A54;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
}
.pcm-add-btn:hover { background: #a56b49; }

/* Section headings */
.pcm-section-title { text-align:center; font-size: 20px; font-weight: 800; color:#1f2a37; margin: 26px 0 12px; }

/* Standalone registration form ([pcm_register]) */
.pcm-register-form {
	max-width: 640px;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dvou-sloupcové rozložení polí – registrace v popupu i na stránce */
#pcm-register-form,
.pcm-register-form .pcm-registration-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 10px;
}

/* Pomocné třídy pro šířku polí */
#pcm-register-form .pcm-input-full,
.pcm-register-form .pcm-input-full,
#pcm-register-form .pcm-terms-text,
.pcm-register-form .pcm-terms-text,
#pcm-register-form .pcm-form-submit,
.pcm-register-form .pcm-form-submit {
	grid-column: 1 / -1;
}

#pcm-register-form .pcm-input-half,
.pcm-register-form .pcm-input-half {
	grid-column: auto;
}

/* Menší mezera mezi textem podmínek a tlačítkem – jen u registrace */
#pcm-register-form .pcm-terms-text,
.pcm-register-form .pcm-terms-text {
	margin: 2px 0 0;
}

#pcm-register-form .pcm-continue-btn,
.pcm-register-form .pcm-continue-btn {
	margin-top: 4px;
	margin-bottom: 8px;
}

.pcm-error-message {
	background: #f8d7da;
	color: #721c24;
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
	.pcm-input-group input,
	.pcm-billing-form-grid input,
	.pcm-billing-form-grid select {
		padding: 12px 16px;
		font-size: 16px; /* Prevents zoom on iOS */
	}

	.pcm-billing-form-grid {
		grid-template-columns: 1fr;
	}

	.pcm-billing-form-grid .pcm-input-group:nth-child(3),
	.pcm-billing-form-grid .pcm-input-group:nth-child(6) {
		grid-column: 1;
	}
}

@media (max-width: 600px) {
	#pcm-register-form,
	.pcm-register-form .pcm-registration-form {
		grid-template-columns: 1fr;
	}

	.pcm-form-field input,
	.pcm-form-field select,
	.pcm-form-field textarea {
		font-size: 16px; /* Prevents zoom on iOS */
	}

	.pcm-buy-button,
	.pcm-buy-post-btn,
	.pcm-buy-package-btn {
		font-size: 15px;
		padding: 14px 28px;
	}
}

@media (max-width: 480px) {
	.pcm-input-group input,
	.pcm-billing-form-grid input,
	.pcm-billing-form-grid select {
		padding: 10px 14px;
		font-size: 16px;
	}

	.pcm-form-field input,
	.pcm-form-field select,
	.pcm-form-field textarea {
		font-size: 16px;
		padding: 12px;
	}

	.pcm-buy-button,
	.pcm-buy-post-btn,
	.pcm-buy-package-btn {
		font-size: 14px;
		padding: 12px 24px;
	}
}

/* Logged-in state */
.pcm-logged-in-state {
    display:flex; align-items:center; justify-content:center; gap:10px;
    color:#6b7280; margin-bottom: 14px;
    background: #f8f3ee !important;
    border: 1px solid #ead9cd !important;
    border-radius: 10px;
    padding: 15px;
}
.pcm-logged-in-state .pcm-checkmark { color:#B97A54 !important; font-weight: 800; }

/* Auth tabs */
.pcm-auth-tabs { display:flex; gap:16px; justify-content:center; margin:12px 0 8px; }
.pcm-auth-option input { display:none; }
.pcm-auth-option label {
    display:inline-block; padding:10px 14px; border-radius:999px; cursor:pointer;
    border:1px solid #e5e7eb; color:#6b7280; font-weight:700; font-size:13px;
}
.pcm-auth-option input:checked + label { background:#f3eee9; color:#C67A4A; border-color:#ead9cd; }

/* Auth forms */
#pcm-login-form { display:none; max-width: 420px; margin: 0 auto; }
#pcm-login-form.active { display:block; }
#pcm-register-form { display:none; max-width: 640px; margin: 0 auto; }
#pcm-register-form.active { display:grid; }

/* Inputs */
.pcm-form-group input, .pcm-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
}

/* Submit buttons */
.pcm-submit-btn {
    background: #58A44E; color:#fff; border:none; border-radius: 999px; padding: 12px 22px; font-weight: 800; cursor:pointer;
}
.pcm-submit-btn.secondary { background: transparent; color:#6b7280; border:1px solid #e5e7eb; }

/* Payment section */
#pcm-payment-section { margin-top: 18px; }

/* Billing pills */
.pcm-billing-type { display:flex; gap:20px; justify-content:center; margin: 10px 0 16px; }
.pcm-billing-type input { display:none; }
.pcm-billing-type label { border:1px solid #e5e7eb; padding: 10px 14px; border-radius:999px; cursor:pointer; color:#6b7280; font-weight:700; font-size:13px; }
.pcm-billing-type input:checked + label { background:#f3eee9; color:#C67A4A; border-color:#ead9cd; }

/* Order button */
.pcm-success-btn, .pcm-order-btn { background:#B97A54 !important; color:#fff !important; border:none; border-radius:999px; padding: 12px 24px; font-weight:800; }
.pcm-success-btn:hover, .pcm-order-btn:hover { background:#a56b49 !important; }
.pcm-success-btn.secondary { background:transparent !important; color:#6b7280 !important; border:1px solid #e5e7eb; }

/* Existing overrides */
/* Voucher redeem section in popup */
.pcm-voucher-redeem-section {
    margin: 20px 0;
}

.pcm-voucher-redeem-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.pcm-voucher-redeem-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

.pcm-voucher-redeem-input::placeholder {
    text-transform: none;
    font-family: inherit;
    letter-spacing: normal;
}

.pcm-apply-voucher-btn {
    padding: 12px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.pcm-apply-voucher-btn:hover {
    background: #218838;
}

.pcm-voucher-redeem-btn {
    background: transparent;
    border: 1px solid #28a745;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #28a745;
    margin-right: 10px;
}

.pcm-voucher-redeem-btn:hover {
    background: #f8f9fa;
    border-color: #218838;
    color: #218838;
}

/* --- Popup width & spacing overrides for visual alignment --- */
.pcm-popup { max-width: 1000px; width: 95%; }
.pcm-popup-header { padding: 24px 40px; }
.pcm-popup-header-section { padding: 28px 40px 16px; }
.pcm-popup-content { padding: 0; }
.pcm-divider { height:1px; background:#eee; margin: 20px 40px; }

/* Section paddings so content is not glued to dividers */
.pcm-user-account-section,
.pcm-payment-section,
.pcm-billing-section { padding: 0 40px; }

/* Auth tabs (radio + label pills) */
.pcm-auth-tabs { display:flex; gap:16px; justify-content:center; margin: 16px 0 12px; }
.pcm-auth-option input { display:none; }
.pcm-auth-option label { display:inline-block; padding:10px 14px; border-radius:999px; border:1px solid #e5e7eb; color:#6b7280; font-weight:700; cursor:pointer; }
.pcm-auth-option input:checked + label { background:#f3eee9; color:#C67A4A; border-color:#ead9cd; }

/* Auth forms visibility */
#pcm-login-form { display:none; max-width: 520px; margin: 8px auto 0; }
#pcm-login-form.active { display:block; }
#pcm-register-form { display:none; max-width: 640px; margin: 8px auto 0; }
#pcm-register-form.active { display:grid; }
/* Robust selected state for auth pills (works even if :checked sibling fails) */
.pcm-auth-option.selected label { background:#f3eee9; color:#C67A4A; border-color:#ead9cd; }


/* Force vertical stacking of auth options (tabs + form) and keep centered */
.pcm-auth-options { display:block; max-width: 640px; margin: 0 auto; }

/* Voucher redeem popup auth options - override to flex */
.pcm-redeem-voucher-popup .pcm-auth-options {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

/* Voucher redeem buttons - prevent text wrapping */
.pcm-redeem-voucher-popup .pcm-auth-btn {
    white-space: nowrap;
    min-width: 160px;
    max-width: 200px;
    padding: 16px 28px !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

@media (max-width: 480px) {
    .pcm-redeem-voucher-popup .pcm-auth-options {
        flex-direction: column !important;
    }

    .pcm-redeem-voucher-popup .pcm-auth-btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Order consents block styling */
.pcm-order-consents {
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.pcm-redirect-info {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.5;
}

.pcm-consent-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: #fff4ed;
    border-radius: 8px;
    border: 1px solid #fed7c3;
    margin-bottom: 15px;
    font-size: 13px;
    color: #9a3412;
    line-height: 1.5;
}

.pcm-info-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.pcm-consent-item {
    margin-bottom: 12px;
}

.pcm-consent-item:last-child {
    margin-bottom: 0;
}

.pcm-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}

.pcm-consent-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #DA8957;
}

.pcm-consent-text {
    flex: 1;
}

.pcm-consent-text a {
    color: #DA8957!important;
    text-decoration: underline;
}

.pcm-consent-text a:hover {
    color: #C67A4A!important;
}

.pcm-consent-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 32px;
}

/* Legacy class - keep for compatibility */
.pcm-gopay-consent {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}


/* Global heading font-size enforcement */
.pcm-popup h1 { font-size: 2em !important; }
.pcm-popup h2 { font-size: 1.5em !important; }
.pcm-popup h3 { font-size: 1.17em !important; }
.pcm-popup h4 { font-size: 1em !important; }
.pcm-popup h5 { font-size: 0.83em !important; }
.pcm-popup h6 { font-size: 0.67em !important; }

/* Remove ad-hoc margins that break divider-controlled spacing */
#pcm-payment-section { margin-top: 0 !important; }

/* Section loader (spinner) */
.pcm-section-loader { display:flex; align-items:center; justify-content:center; gap:10px; padding:20px 0; color:#6b7280; }
.pcm-section-loader .pcm-spinner { width:28px; height:28px; border:3px solid #e5e7eb; border-top-color:#C67A4A; border-radius:50%; animation: pcm-spin .8s linear infinite; }
@keyframes pcm-spin { to { transform: rotate(360deg); } }
.pcm-section-loader .pcm-loader-text { font-size:14px; }

/* Registration success animation */
@keyframes pcm-checkmark-pop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}
