.opentest-subscription-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.opentest-subscription-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.opentest-subscription-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.opentest-card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.opentest-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.opentest-card-price {
    font-size: 36px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}

.opentest-card-period {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}

.opentest-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.opentest-card-features li {
    padding: 8px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 8px;
}

.opentest-card-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

.opentest-card-button {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.opentest-card-button:hover {
    background: #1d4ed8;
    transform: scale(1.02);
}

.opentest-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.opentest-modal.active {
    display: flex;
}

.opentest-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.opentest-modal-header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
}

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

.opentest-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.opentest-form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.opentest-form-input:focus {
    outline: none;
    border-color: #2563eb;
}

.opentest-user-dashboard {
    padding: 40px 0;
}

.opentest-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
}

.opentest-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.opentest-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.opentest-auth-code {
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.opentest-copy-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.opentest-copy-btn:hover {
    background: #1d4ed8;
}
