/* Prescription Chamber Subscribe Form Styles */
.pc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 20px;
}

.pc-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pc-subscribe-popup {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    transform: translateY(30px) scale(0.9);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pc-popup-overlay.active .pc-subscribe-popup {
    transform: translateY(0) scale(1);
}

.pc-popup-header {
    background: linear-gradient(135deg, #1a4d8c 0%, #2a7de1 100%);
    color: white;
    padding: 25px 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pc-header-logo {
    display: inline-block;
    background: linear-gradient(135deg, #f0f0f0, #d9d9d9, #bfbfbf);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.pc-header-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

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

.pc-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pc-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pc-popup-body {
    padding: 30px;
    display: flex;
    gap: 30px;
}

.pc-form-container {
    flex: 1;
    min-width: 0;
}

.pc-benefits-container {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f2ff 100%);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pc-benefits-container h3 {
    color: #1a4d8c;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.pc-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pc-form-group {
    display: flex;
    flex-direction: column;
}

.pc-form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    color: #444;
}

.pc-form-group input {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.pc-form-group input:focus {
    outline: none;
    border-color: #2a7de1;
    box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.15);
}

.pc-subscribe-btn {
    background: linear-gradient(135deg, #1a4d8c 0%, #2a7de1 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.pc-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(42, 125, 225, 0.3);
}

.pc-privacy-note {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 20px;
    line-height: 1.6;
}

.pc-benefits-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pc-benefits-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    font-size: 15px;
    border-bottom: 1px solid rgba(42, 125, 225, 0.1);
}

.pc-benefits-list li:last-child {
    border-bottom: none;
}

.pc-benefits-list li:before {
    content: "✓";
    color: #2a7de1;
    font-weight: bold;
    margin-right: 12px;
    background-color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pc-success-message {
    display: none;
    text-align: center;
    padding: 30px;
    grid-column: 1 / -1;
}

.pc-success-message.active {
    display: block;
}

.pc-success-icon {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 15px;
}

.pc-subscribe-trigger {
    background: linear-gradient(135deg, #1a4d8c 0%, #2a7de1 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(42, 125, 225, 0.3);
}

.pc-subscribe-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(42, 125, 225, 0.4);
}

@media (max-width: 768px) {
    .pc-popup-body {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .pc-popup-header h2 {
        font-size: 24px;
    }
    
    .pc-header-logo {
        padding: 12px 20px;
    }
    
    .pc-header-logo img {
        max-width: 120px;
    }
}